DynaPDF Manual - Page 521

Previous Page 520   Index   Next Page 522

Function Reference
Page 521 of 818
Special options
A few barcode types support additional flags or properties which can be set with the members
Option1 through Option3.
Unfortunately, the Zint library is completely undocumented in regard to barcode options. The
following values were taken from the source codes and maybe incomplete:
Barcode type
Member to set
Description
Supported range
bctAztec
Option1
Error correction level
-1..4
bctAztec
Option2
Symbol size
0..36
bctCodablockF
Option1
Number of rows
-1..44
bctCodablockF
Option2
Number of columns
-1, 0, 9..67
bctDataMatrix
Option3
Force square output
100
bctDataMatrix
Option3
Enable Rectangular Extension
101
bctDataMatrix
Options
Use GS1 separator instead of FNC1
bcoGS1_GS_Separator
bctMaxicode
Option1
Maxicode mode
-1, 2..6
bctCodabar
Option2
Add checksum
0, 1
bctCode32
Option2
Add checksum
0, 1
bctMSIPlessey
Option2
Symbol size
0..4
bctPharmaOneTrack
Option2
Add checksum
0, 1
bctPharmaTwoTrack
Option2
Add checksum
0, 1
bctPDF417
Option1
Security value
-1..8
bctPDF417
Option2
Number of columns
0..30
bctQRCode
Option1
Error correction level
-1, 1..4
bctQRCode
Option2
Symbol size
0..40
bctQRCode
Option3
Full multibyte -> Kanji mode
unsupported
bctRSS_EXPSTACK_CC
Option1
Component linkage flag
0, 2
bctRSS_EXPSTACK_CC
Option2
Number of columns
0..11
bctUltracode
Option1
Error correction level
-1..6
bctUltracode
Option3
Ultra compression
128
Return values:
The return value depends on whether an image or vector graphic was created. If the flag
bcoImageOutput is set or if the barcode type is bctUltracode, the return value is the image handle, a
value greater or equal zero on success or a negative error code on failure.
In vector mode the return value is zero on success or a negative error code on failure.
 

Previous topic: Human readable text, Outer border, Scaling details

Next topic: InsertBMPFromBuffer (obsolete), InsertBMPFromHandle, InsertBookmark


Start Chat