←Select platform

GS1DatabarStackedBarcodeWriteOptions Class

Summary

Contains extra options to use when writing GS1 Databar Stacked barcodes.

Syntax
C#
VB
Objective-C
C++
Java
[SerializableAttribute()] 
public class GS1DatabarStackedBarcodeWriteOptions : BarcodeWriteOptions 
<TypeConverterAttribute()> 
<SerializableAttribute()> 
Public Class GS1DatabarStackedBarcodeWriteOptions  
   Inherits BarcodeWriteOptions 
   Implements System.ICloneable  
@interface LTGS1DatabarStackedBarcodeWriteOptions : LTBarcodeWriteOptions 
public class GS1DatabarStackedBarcodeWriteOptions extends BarcodeWriteOptions 
[TypeConverterAttribute()] 
[SerializableAttribute()] 
public ref class GS1DatabarStackedBarcodeWriteOptions : public BarcodeWriteOptions, System.ICloneable   

Remarks

The GS1DatabarStackedBarcodeWriteOptions class is used to control the options when writing GS1 Databar Stacked 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:

. Change the members of the returned GS1DatabarStackedBarcodeWriteOptions by casting it from BarcodeWriteOptions to GS1DatabarStackedBarcodeWriteOptions.

Create an instance of GS1DatabarStackedBarcodeWriteOptions 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.GS1DatabarStacked and BarcodeSymbology.GS1DatabarExpandedStacked

In addition to these features and members, GS1DatabarStackedBarcodeWriteOptions contains these GS1 Databar Stacked barcodes specific features:

Member Description
UseXModule

Use the XModule when writing barcodes of this type

XModule

The size of the smallest module when writing a GS1 Databar Stacked barcode

SetLinkageBit

Set the linkage bit when writing the barcode

UseStackedOmniDirectionalFormat

Use two-row in Stacked Omni-directional format when writing the barcode

ExpandedStackedRowsCount

Number of rows to write for GS1 Databar Expanded Stacked format

Example

For an example, refer to GS1DatabarStackedBarcodeReadOptions.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly