Contains extra options to use when writing Patch Code barcodes.
[SerializableAttribute()]
public class PatchCodeBarcodeWriteOptions : BarcodeWriteOptions
<TypeConverterAttribute()>
<SerializableAttribute()>
Public Class PatchCodeBarcodeWriteOptions
Inherits BarcodeWriteOptions
Implements System.ICloneable
@interface LTPatchCodeBarcodeWriteOptions : LTBarcodeWriteOptions
public class PatchCodeBarcodeWriteOptions extends BarcodeWriteOptions
[TypeConverterAttribute()]
[SerializableAttribute()]
public ref class PatchCodeBarcodeWriteOptions : public BarcodeWriteOptions, System.ICloneable
The PatchCodeBarcodeWriteOptions class is used to control the options when writing Patch Code 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 PatchCodeBarcodeWriteOptions, by casting it from BarcodeWriteOptions to PatchCodeBarcodeWriteOptions.
You can also create an instance of the PatchCodeBarcodeWriteOptions 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.PatchCode |
In addition to these features and members, PatchCodeBarcodeWriteOptions contains these Patch Code 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 Patch Code barcode |
PatchCodeBarcodeWriteOptions Members
Programming with LEADTOOLS Barcode
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document