Leadtools.Barcode Namespace : OneDBarcodeWriteOptions Class |
[TypeConverterAttribute()] [SerializableAttribute()] public class OneDBarcodeWriteOptions : BarcodeWriteOptions, System.ICloneable
'Declaration <TypeConverterAttribute()> <SerializableAttribute()> Public Class OneDBarcodeWriteOptions Inherits BarcodeWriteOptions Implements System.ICloneable
'Usage Dim instance As OneDBarcodeWriteOptions
public sealed class OneDBarcodeWriteOptions : System.ICloneable
ObjectiveC Syntax
Java Syntax
function Leadtools.Barcode.OneDBarcodeWriteOptions()
[TypeConverterAttribute()] [SerializableAttribute()] public ref class OneDBarcodeWriteOptions : public BarcodeWriteOptions, System.ICloneable
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
OneDBarcodeWriteOptions Members
Leadtools.Barcode Namespace
BarcodeData Class
BarcodeWriter Class
BarcodeSymbology Enumeration
BarcodeEngine Class
BarcodeWriter.WriteBarcode
Programming with LEADTOOLS Barcode
Supported Barcode Symbologies
Unlocking Barcode Support
Writing Barcodes Tutorial
UPC / EAN Barcodes in LEADTOOLS
2 of 5 Barcodes 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
Codabar Barcodes in LEADTOOLS
Miscellaneous Barcodes in LEADTOOLS
Writing Barcodes - Bounds and XModule