<< Click to Display Table of Contents >> RenderMaxiCodeEx |
[Professional Edition and above only]
Computes the dimensions of a MaxiCode barcode.
method void VPE.MaxiCodeEx(
int nMode,
string Zip,
int nCountryCode,
int nServiceClass,
string Message,
int nSymbolNumber,
int nSymbolCount
)
int nMode
Modes define the structuring of data and error correction within a symbol.
Value |
Description |
0 |
Obsolete |
1 |
Obsolete |
2 |
Structured Carrier Message. Encode the destination address and class of service in the transport industry. Mode 2 supports up to nine numeric digits for the ZIP code. |
3 |
Similar to mode 2. Supports up to six alphanumeric characters for ZIP code. |
4 |
Standard Symbol (for details refer to AIM specification) |
5 |
EEC (for details refer to AIM specification) |
6 |
Reader Programming (for details refer to AIM specification) |
string Zip
Postal code, for example D40211 or 42119
int nCountryCode
ISO 3166 country code (for example 276 for Germany)
int nServiceClass
Carrier-dependent service class
string Message
Secondary message
int nSymbolNumber
Total number of symbols (structured append)
int nSymbolCount
Current number of symbol (structured append)
Remarks:
The width, height and module width of the MaxiCode barcode are fixed. You can not specify these parameters.
Sets LastError.
Example:
Doc.RenderMaxiCodeEx(1, 11, -5, -5, 2, "068107317", 840, 001, "AOE This is MaxiCode AOE", 1, 1)
xsize = Doc.nRenderWidth
ysize = Doc.nRenderHeight
"Barcodes (2D)" in the Programmer's Manual