←Select platform

PDF417BarcodeReadOptions Class

Summary

Contains extra options to use when reading PDF417 barcodes.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[SerializableAttribute()] 
public class PDF417BarcodeReadOptions : BarcodeReadOptions 
<TypeConverterAttribute()> 
<SerializableAttribute()> 
Public Class PDF417BarcodeReadOptions  
   Inherits Leadtools.Barcode.BarcodeReadOptions 
   Implements System.ICloneable  
public sealed class PDF417BarcodeReadOptions : System.ICloneable   
@interface LTPDF417BarcodeReadOptions : LTBarcodeReadOptions 
public class PDF417BarcodeReadOptions extends BarcodeReadOptions 
function Leadtools.Barcode.PDF417BarcodeReadOptions() 
[TypeConverterAttribute()] 
[SerializableAttribute()] 
public ref class PDF417BarcodeReadOptions : public Leadtools.Barcode.BarcodeReadOptions, System.ICloneable   

Remarks

The PDF417BarcodeReadOptions class is used to control the options when reading PDF417 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.PDF417. Then change the members of the returned PDF417BarcodeReadOptions by casting it from BarcodeReadOptions to PDF417BarcodeReadOptions.

You can also create an instance of the PDF417BarcodeReadOptions 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.PDF417

In addition to these features and members, the PDF417BarcodeReadOptions contains these PDF417 barcodes specific features:

Member Description
SearchDirection The direction to use when searching for barcodes (horizontal, vertical or both).
EnableDoublePass Enable internal auto preprocessing of the image data if no PDF417 barcode was found.
EnableDoublePassIfSuccess Enable internal auto preprocessing of the image data even if some PDF417 barcodes were found.
EnableFastMode Enable or disable fast PDF417 reading mode.
ReadMode The channel mode to use when reading PDF417 barcodes.
ReturnCorruptedSymbolArea Instruct the engine to return the area where an un-readable PDF417 symbol is located (with no data).
ReadOptionalMacroFileNameField, ReadOptionalMacroSegmentCountField, ReadOptionalMacroTimestampField, ReadOptionalMacroSenderField, ReadOptionalMacroAddresseeField, ReadOptionalMacroFileSizeField, ReadOptionalMacroChecksumField and ReadOptionalMacro79AndAZField Retrieve an optional macro field when reading PDF417 barcodes.
Example

For an example, refer to PDF417BarcodeData.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly