Contains the extra options to use when reading standard 1D (linear) barcodes.
The OneDBarcodeWriteOptions class is used to control the options when standard 1D (linear) barcodes using LEADTOOLS. Set the options in two ways:
The BarcodeWriter class contains default options for each barcode symbology (or group of common symbologies). These options can be retrieved using the BarcodeWriter.GetDefaultOptions method passing one of the following:
. Then change the members of the returned OneDBarcodeWriteOptions by casting it from BarcodeWriteOptions to OneDBarcodeWriteOptions.
Also create an instance of one of OneDBarcodeWriteOptions class and use it directly in the BarcodeWriter.WriteBarcode method which accepts the options as an input parameter.
The base BarcodeWriteOptions contains the following members and features:
In addition to these features and members, OneDBarcodeWriteOptions contains these standard 1D (linear) barcodes specific features:
Member | Description |
---|---|
TextPosition |
The text position to use when the data string is written along with the barcode |
EnableErrorCheck |
Outputs the optional check word for validity check when writing a barcode (if supported) |
UseXModule |
Uses the XModule when writing barcodes of this type |
XModule |
The size of the smallest module when writing a barcode |
SetGS1DatabarLinkageBit |
Sets the linkage bit when writing GS1 Databar barcodes |
WriteTruncatedGS1Databar |
Writes truncated GS1 Databar symbols |
Code128TableEncoding |
Encoding table to use when writing Code 128 barcodes |
Code11CheckDigitType |
Check digit type to use when reading writing 11 (USD-8) barcodes |
MSIModuloType |
Check digit type to use when writing MSI (Pulse Width Modulated) barcodes |
For an example, refer to OneDBarcodeReadOptions.
OneDBarcodeWriteOptions Members
Programming with LEADTOOLS Barcode
UPC / EAN Barcodes in LEADTOOLS
GS1 DataBar / RSS-14 Barcodes in LEADTOOLS
Code 128 Barcodes in LEADTOOLS
USPS and 4-State Barcodes in LEADTOOLS
MSI Barcodes (Pulse Width Modulated) in LEADTOOLS
Products |
Support |
Feedback: OneDBarcodeWriteOptions Class - Leadtools.Barcode |
Introduction |
Help Version 19.0.2017.6.21
|