Contains the extra options to use when writing PhamraCode barcodes.
[SerializableAttribute()]
public class PharmaCodeBarcodeWriteOptions : BarcodeWriteOptions
<TypeConverterAttribute()>
<SerializableAttribute()>
Public Class PharmaCodeBarcodeWriteOptions
Inherits Leadtools.Barcode.BarcodeWriteOptions
Implements System.ICloneable
[TypeConverterAttribute()]
[SerializableAttribute()]
public ref class PharmaCodeBarcodeWriteOptions : public Leadtools.Barcode.BarcodeWriteOptions, System.ICloneable
The PharmaCodeBarcodeWriteOptions class is used to control the options when writing PharmaCode 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.PharmaCode.
Then change the members of the returned PharmaCodeBarcodeWriteOptions by casting it from BarcodeWriteOptions to PharmaCodeBarcodeWriteOptions.
You can also create an instance of the PharmaCodeBarcodeWriteOptions 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.PharmaCode |
In addition to the features and members, the PharmaCodeBarcodeWriteOptions contains these PharmaCode barcodes specific features:
Member | Description |
---|---|
UseXModule |
Uses the XModule when writing barcodes of this type |
XModule |
The size of the smallest module when writing a PharmaCode barcode |
For an example, refer to PharmaCodeBarcodeReadOptions.
PharmaCodeBarcodeWriteOptions Members
Programming with LEADTOOLS Barcode
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET