Menu

QRCode ActiveX Properties

QRCode Bar Code ActiveX Properties



DataToEncode Property
Returns or sets the data that is to be encoded in the barcode.

Syntax
object.DataToEncode [ = sDataToEncode ]
Possible Values
DataToEncodeString that specifies or receives the barcode data.

The property is read/write.
Control characters
  • <FNC1>: Represents the character FNC1 in "first" position. In the "1st position" it designates data formatted in accordance with the GS1 General Specifications. FNC1 mode applies to the entire symbol.
  • <FNC2>: Represents the character FNC1 in "second" position. In the "2nd position" it designates data formatted in accordance with a specific industry application previously agreed with AIM Inc. FNC1 mode applies to the entire symbol.
  • <GS>: Represents the field separator in FNC1 barcodes.
  • \NNNNNN: Specifies the Extended Channel to be used, where NNNNNN is a value between and 000000 - 999999. For example: \000010 means Extended Channel 10. An Extended Channel Interpretation (ECI) is used to change from the default interpretation used to encode data. This mechanism enables characters from other character sets (e.g. Arabic, Cyrillic, Greek, Hebrew) and other data interpretations or industry-specific requirements to be represented. The ECI can only be used with readers enabled to transmit the symbology identifiers.
  • \xNN: Represents the hexadecimal value of NN, for example, if there is a combination of "\xA7", it will be replaced with the hexadecimal value of A7.
  • \R (or \r): Represents the carriage return character (CR).
  • \N (or \n): Represents the new line character.
  • \\: Represents the "\\" character. This combination can be used to assign its usual value to the "\" character, thus, "\\r" does not mean "\" and "CR", but two characters "\" and "r".
Examples
<FNC1>30128<GS>10ABC123
Application Identifier 30 (quantity), variable length; data: 128, requires separator character <GS>



PreferredVersion Property
Returns or sets the the preferred version of the QRCode barcode.

Syntax
object.PreferredVersion [ = ePreferredVersion ]
Possible Values
ePreferredVersionValue that specifies or receives the preferred version.

ValueConstantDescription
0fAutoThe version is selected automatically, i.e. the minimal available matrix allowing to encode the data is selected.
1sv121x21
2sv225x25
3sv329x29
4sv433x33
5sv537x37
6sv641x41
7sv745x45
8sv849x49
9sv953x53
10sv1057x57
11sv1161x61
12sv1265x65
13sv1369x69
14sv1473x73
15sv1577x77
16sv1681x81
17sv1785x85
18sv1889x89
19sv1993x93
20sv2097x97
21sv21101x101
22sv22105x105
23sv23109x109
24sv24113x113
25sv25117x117
26sv26121x121
27sv27125x125
28sv28129x129
29sv29133x133
30sv30137x137
31sv31141x141
32sv32145x145
33sv33149x149
34sv34153x153
35sv35157x157
36sv36161x161
37sv37165x165
38sv38169x169
39sv39173x173
40sv40177x177

The property is read/write.



EncodingMode Property
Returns or sets the encoding mode of the QRCode barcode.

Syntax
object.EncodingMode [ = eEncodingMode ]
Possible Values
eEncodingModeValue that specifies or receives the encoding mode of the QRCode barcode

ValueConstantDescription
0emAutoChoose most efficient way of representing a given input data string in multiple modes in QR Code symbols
1emNumericNumeric mode encodes data from the decimal digit set (0 - 9)
2emAlphaNumericAlphanumeric mode encodes data from a set of 45 characters, i.e. 10 numeric digits (0 - 9), 26 alphabetic characters (A - Z), and 9 symbols (SP, $, %, *, +, -, ., /, :)
3emByteEncodes all characters.
4emKanjiThe Kanji mode efficiently encodes Kanji characters in accordance with the Shift JIS system based on JIS X 0208.

The property is read/write.



ErrorCorrectionLevel Property
Returns or sets the error correction level of the QRCode barcode.

Syntax
object.ErrorCorrectionLevel [ = eErrorCorrectionLevel ]
Possible Values
eErrorCorrectionLevelValue that specifies or receives the error correction level of the QRCode barcode

ValueConstantRecovery Capacity (approx.) %
0ecL7
1ecL15
2ecL25
3ecL30

The property is read/write.



Orientation Property
Returns or sets the orientation of the QRCode symbol.

Syntax
object.Orientation [ = eOrientation ]
Possible Values
OrientationValue that specifies or receives the orientation of the barcode.
Valid values are 0, 90, 180 and 270

The property is read/write.



Transparent Property
Returns or sets a value indicating whether the background of a QRCode control is transparent or opaque.

Syntax
object.Transparent [ = bTransparent ]
Possible Values
bTransparentBoolean that specifies or receives the Transparent property
If the value is False then the the control's BackColor property setting fills the control and obscures any color or graphics behind it.

The property is read/write.



BackColor Property
Returns or sets the background color of a QRCode bar code.

Syntax
object.BackColor [ = sColor ]
Possible Values
sColorValue that specifies or receives the background color

The property is read/write.
Remarks
The BackColor property is ignored if the Transparent property setting is true.

The valid range for a normal RGB color is 0 to 16,777,215 (&HFFFFFF). The high byte of a number in this range equals 0; the lower 3 bytes, from least to most significant byte, determine the amount of red, green, and blue, respectively. The red, green, and blue components are each represented by a number between 0 and 255 (&HFF).




ForeColor Property
Returns or sets the foreground color of all dark modules in a bar code object.

Syntax
object.ForeColor [ = sColor ]
Possible Values
sColorValue that specifies or receives the background color

The property is read/write.



QuietZone Property
Returns or sets a value that determines whether to include quiet zones around bar code symbols.

Syntax
object.QuietZone [ = bQuietZone ]
Possible Values
bQuietZoneBoolean that specifies or receives the QuietZone property

The property is read/write.
Remarks
This is a region which shall be free of all other markings, surrounding the symbol on all four sides. For QR Code symbols its width shall be 4X.



StretchBarcode Property
Returns or sets a value that determines whether to stretch barcode on whole symbol rect.

Syntax
object.StretchBarcode [ = bStretchBarcode ]
Possible Values
bStretchBarcodeBoolean that specifies or receives the StretchBarcode property

The property is read/write.



FreezeEncoding Property
This property pauses or resumes encoding the QRCode. It makes sense to use this method in heavily loaded application, for example, web services, etc.

Syntax
object.FreezeEncoding [ = bFreezeEncoding ]
Possible Values
bFreezeEncodingBoolean that specifies or receives the FreezeEncoding property

The property is read/write.