Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Barcode Namespace : PharmaCodeBarcodeReadOptions Class |
[TypeConverterAttribute()] [SerializableAttribute()] public class PharmaCodeBarcodeReadOptions : BarcodeReadOptions, System.ICloneable
'Declaration
<TypeConverterAttribute()> <SerializableAttribute()> Public Class PharmaCodeBarcodeReadOptions Inherits BarcodeReadOptions Implements System.ICloneable
'Usage
Dim instance As PharmaCodeBarcodeReadOptions
public sealed class PharmaCodeBarcodeReadOptions : System.ICloneable
function Leadtools.Barcode.PharmaCodeBarcodeReadOptions()
[TypeConverterAttribute()] [SerializableAttribute()] public ref class PharmaCodeBarcodeReadOptions : public BarcodeReadOptions, System.ICloneable
The PharmaCodeBarcodeReadOptions class is used to control the options when reading PharmaCode barcodes using LEADTOOLS. Set the options in two ways:
The BarcodeReader class contains default options for each barcode symbology (or group of common symbologies). These options can be retrieved using the BarcodeReader.GetDefaultOptions method passing BarcodeSymbology.PharmaCode
Change the members of the returned PharmaCodeBarcodeReadOptions by casting it from BarcodeReadOptions to PharmaCodeBarcodeReadOptions.
You can also create an instance of the PharmaCodeBarcodeReadOptions class and use it directly in the BarcodeReader.ReadBarcode and BarcodeReader.ReadBarcodes methods that accept a single or array of options as an input parameter.
The base BarcodeReadOptions contains the following members and features:
Member | Description |
---|---|
BarcodeReadOptions.ForeColor |
Controls the barcode foreground color (color of the bars or symbols) to use when reading a barcode from a colored image. |
BarcodeReadOptions.BackColor |
Controls the barcode background color (color of the spaces) to use when reading a barcode from a colored image. |
BarcodeReadOptions.Load and BarcodeReadOptions.Save |
Can be used to save or load the options to/from an XML file or stream. |
BarcodeReadOptions.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 PharmaCodeBarcodeReadOptions contains these PharmaCode barcode specific features:
Member | Description |
---|---|
SearchDirection |
The direction to use when searching for barcodes (horizontal, vertical or both) |
This example writes a PharmaCode barcode to an image and then reads it back.
PharmaCodeBarcodeReadOptions Members
Leadtools.Barcode Namespace
BarcodeData Class
BarcodeReader Class
BarcodeSymbology Enumeration
BarcodeEngine Class
BarcodeReader.ReadBarcode
BarcodeReader.ReadBarcodes
Programming with LEADTOOLS Barcode
Supported Barcode Symbologies
Unlocking Barcode Support
Reading Barcodes Tutorial
USPS and 4-State Barcodes in LEADTOOLS