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
DataToEncode | String 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
ePreferredVersion | Value that specifies or receives the preferred version.
Value | Constant | Description |
0 | fAuto | The version is selected automatically, i.e. the minimal available matrix allowing to encode the data is selected. |
1 | sv1 | 21x21 |
2 | sv2 | 25x25 |
3 | sv3 | 29x29 |
4 | sv4 | 33x33 |
5 | sv5 | 37x37 |
6 | sv6 | 41x41 |
7 | sv7 | 45x45 |
8 | sv8 | 49x49 |
9 | sv9 | 53x53 |
10 | sv10 | 57x57 |
11 | sv11 | 61x61 |
12 | sv12 | 65x65 |
13 | sv13 | 69x69 |
14 | sv14 | 73x73 |
15 | sv15 | 77x77 |
16 | sv16 | 81x81 |
17 | sv17 | 85x85 |
18 | sv18 | 89x89 |
19 | sv19 | 93x93 |
20 | sv20 | 97x97 |
21 | sv21 | 101x101 |
22 | sv22 | 105x105 |
23 | sv23 | 109x109 |
24 | sv24 | 113x113 |
25 | sv25 | 117x117 |
26 | sv26 | 121x121 |
27 | sv27 | 125x125 |
28 | sv28 | 129x129 |
29 | sv29 | 133x133 |
30 | sv30 | 137x137 |
31 | sv31 | 141x141 |
32 | sv32 | 145x145 |
33 | sv33 | 149x149 |
34 | sv34 | 153x153 |
35 | sv35 | 157x157 |
36 | sv36 | 161x161 |
37 | sv37 | 165x165 |
38 | sv38 | 169x169 |
39 | sv39 | 173x173 |
40 | sv40 | 177x177 |
|
The property is read/write.
|
EncodingMode Property
Returns or sets the encoding mode of the QRCode barcode.
Syntax
object.EncodingMode [ = eEncodingMode ]
Possible Values
eEncodingMode | Value that specifies or receives the encoding mode of the QRCode barcode
Value | Constant | Description |
0 | emAuto | Choose most efficient way of representing a given input data string in multiple modes in QR Code symbols |
1 | emNumeric | Numeric mode encodes data from the decimal digit set (0 - 9) |
2 | emAlphaNumeric | Alphanumeric 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, $, %, *, +, -, ., /, :) |
3 | emByte | Encodes all characters. |
4 | emKanji | The 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
eErrorCorrectionLevel | Value that specifies or receives the error correction level of the QRCode barcode
Value | Constant | Recovery Capacity (approx.) % |
0 | ecL | 7 |
1 | ecL | 15 |
2 | ecL | 25 |
3 | ecL | 30 |
|
The property is read/write.
|
Orientation Property
Returns or sets the orientation of the QRCode symbol.
Syntax
object.Orientation [ = eOrientation ]
Possible Values
Orientation | Value 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
bTransparent | Boolean 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
sColor | Value 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
sColor | Value 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
bQuietZone | Boolean 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
bStretchBarcode | Boolean 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
bFreezeEncoding | Boolean that specifies or receives the FreezeEncoding property |
The property is read/write.
|