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.

[Visual Basic .NET]

Public Sub GetActualRC(ByRef ActualRows As Integer, ByRef ActualCols As Integer)

[C#]

public void GetActualRC(ref int ActualRows, ref int 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 pfAuto (Auto format), Aztec ASP.NET web 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.NET web 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.