GetActualRC Method

Navigation:  Reference Guide > Methods >

GetActualRC Method

Previous pageReturn to chapter overviewNext page

Gets the actual numbers of rows and columns for the Aztec barcode.

void GetActualRC(VARIANT *ActualRows, VARIANT *ActualCols);

Parameters

ActualRows

A pointer to the variable that receives the final number of rows for the Aztec barcode.

ActualCols

A pointer to the variable that receives the final number of columns for the Aztec barcode.

 

Remarks

If you set PreferredFormat to 0 (Auto format), Aztec ASP control will automatically choose an appropriate format with enough data capacity to encode the string, use this method to retrieve the information about the final numbers of rows and columns.

 

If you set PreferredFormat to other values and the data capacity of the selected format is not big enough to encode the string, Aztec ASP control will also automatically choose an appropriate format with bigger data capacity to encode the string, so the final numbers of rows and columns might not be equal to the numbers of rows and columns specified by the PreferredFormat property.