LEADTOOLS Barcode (Leadtools.Barcode assembly)
LEAD Technologies, Inc

OneDBarcodeWriteOptions Class








Members 
Contains the extra options to use when reading standard 1D (linear) barcodes. .NET support WinRT support Silverlight support
Object Model
OneDBarcodeWriteOptions Class
Syntax
[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  
Remarks

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:

Member Description
BarcodeWriteOptions.ForeColor

Controls the barcode foreground color (color of the bars or symbols) to use when writing a barcode to an image.

BarcodeWriteOptions.BackColor

Controls the barcode background color (color of the spaces) to use when writing a barcode to an image.

BarcodeWriteOptions.Load and BarcodeWriteOptions.Save

Can be used to save or load the options to/from an XML file or stream.

BarcodeWriteOptions.GetSupportedSymbologies

This class overrides the base class method to return an array containing the symbologies: BarcodeSymbology.EAN13, BarcodeSymbology.EAN8, BarcodeSymbology.UPCA, BarcodeSymbology.UPCE, BarcodeSymbology.Code3Of9, BarcodeSymbology.Code128, BarcodeSymbology.CodeInterleaved2Of5, BarcodeSymbology.Codabar, BarcodeSymbology.UCCEAN128, BarcodeSymbology.Code93, BarcodeSymbology.EANEXT5, BarcodeSymbology.EANEXT2, BarcodeSymbology.MSI, BarcodeSymbology.Code11, BarcodeSymbology.CodeStandard2Of5, BarcodeSymbology.GS1Databar, BarcodeSymbology.GS1DatabarLimited and BarcodeSymbology.GS1DatabarExpanded

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

Example

For an example, refer to OneDBarcodeReadOptions.

Requirements

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

See Also

Reference

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

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features