LEADTOOLS Barcode (Leadtools.Barcode assembly)

DatamatrixBarcodeWriteOptions Class

Show in webframe







Members 
Contains the extra options to use when writing Datamatrix barcodes.
Object Model
Syntax
[TypeConverterAttribute()]
[SerializableAttribute()]
public class DatamatrixBarcodeWriteOptions : BarcodeWriteOptions, System.ICloneable  
'Declaration
 
<TypeConverterAttribute()>
<SerializableAttribute()>
Public Class DatamatrixBarcodeWriteOptions 
   Inherits BarcodeWriteOptions
   Implements System.ICloneable 
'Usage
 
Dim instance As DatamatrixBarcodeWriteOptions
public sealed class DatamatrixBarcodeWriteOptions : System.ICloneable  
@interface LTDatamatrixBarcodeWriteOptions : LTBarcodeWriteOptions
public class DatamatrixBarcodeWriteOptions extends BarcodeWriteOptions
function Leadtools.Barcode.DatamatrixBarcodeWriteOptions()
[TypeConverterAttribute()]
[SerializableAttribute()]
public ref class DatamatrixBarcodeWriteOptions : public BarcodeWriteOptions, System.ICloneable  
Remarks

The DatamatrixBarcodeWriteOptions class is used to control the options when writing Datamatrix 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 BarcodeSymbology.Datamatrix. You can then change the members of the returned DatamatrixBarcodeWriteOptions by casting it from BarcodeWriteOptions to DatamatrixBarcodeWriteOptions.

You can also create an instance of DatamatrixBarcodeWriteOptions 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 following symbologies: BarcodeSymbology.Datamatrix

In addition to the features features and members, the DatamatrixBarcodeWriteOptions contains these Datamatrix barcodes specific features:

Member Description
HorizontalAlignment

Horizontal alignment for the barcode inside the destination bounds.

VerticalAlignment

Vertical alignment for the barcode inside the destination bounds.

DisableCompression

Write data into the symbol without compression. Two bytes must be added to the data, then the data is written byte-for-byte to the symbol.

GroupTotal

Group total for Datamatrix code symbols

GroupNumber

Group number for Datamatrix code symbols.

FileIdNumberLowByte

The low byte of the Datamatrix file ID number. Used when writing a group of related symbols.

FileIdNumberHighByte

The high byte of the Datamatrix file ID number. Used when writing a group of related symbols.

XModule

Size of the smallest module when writing in thousands of an inch (0.001).

Example

For an example, refer to DatamatrixBarcodeData.

Requirements

Target Platforms

See Also

Reference

DatamatrixBarcodeWriteOptions Members
Leadtools.Barcode Namespace
DatamatrixBarcodeData Class
BarcodeWriter Class
BarcodeSymbology Enumeration
BarcodeEngine Class
BarcodeWriter.WriteBarcode
Programming with LEADTOOLS Barcode
Supported Barcode Symbologies
Unlocking Barcode Support
Writing Barcodes Tutorial
Datamatrix Barcodes in LEADTOOLS
Writing Barcodes - Bounds and XModule

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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