The QR Control Properties

The control has the following properties which may be set in the property pages or programmatically with Visual Basic.

Caption: (BSTR) the data which will be converted into a barcode

CodeType: (integer) 0 specifies QR Code, 1 specifies Micro QR Code.

AutoSize: (Boolean) if non-zero causes the control to resize itself to contain the barcode.

BackColor: (Colorref) the background color

CapLength: (integer) normally 0, in which case the length of the data string in the Caption property is determined automatically. If non-zero it is taken to be the number of characters in the Caption property to be used as data.

Errorcode: (integer) a non-zero value is returned if the data supplied in the Caption property can be converted into a valid barcode.

Font: (Font) the font in which the Output characters will be displayed

ForeColor: (Colorref) the color of the bars in the barcode

Level: (integer, 0 - 3) the security level for the generated barcode (see the DLL above for a description)

Mode: (integer) the mode used to generate the barcode;

0 for Numeric mode
1 for Alphanumeric mode
2 for Byte mode
3 for Kanji mode (not supported at this time).

Output: (CString) the characters which when displayed in the correct font, produce the barcode. Note that this string may be much larger than the Caption string.

In addition the control supports the normal Active-X properties, such as Visible, Height, Width, etc.

 

 

More:

QR Code .NET Managed Component