GetActualRC Method

Navigation:  Reference Guide > Methods >

GetActualRC Method

Previous pageReturn to chapter overviewNext page

Gets the actual numbers of rows and columns for the QRCode 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 QRCode barcode.

ActualCols

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

 

 

Remarks

If you set Version to vrAuto (Auto version), QRCode .NET control will automatically choose an appropriate version 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 Version to other values and the data capacity of the selected version is not big enough to encode the string, QRCode .NET control will also automatically choose an appropriate version 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 Version property.