Error processing SSI file
LEADTOOLS Barcode (Leadtools.Barcode assembly)

Show in webframe

EnableDoublePass Property (DatamatrixBarcodeReadOptions)








Gets or sets a value indicating whether to enable the double pass setting when reading Datamatrix symbols.
Syntax
[DisplayNameAttribute("Enable double pass")]
[DescriptionAttribute("If no barcodes of this symbology are found, auto pre-process the image and then re-scan")]
[DefaultValueAttribute()]
[CategoryAttribute("			Options")]
public bool EnableDoublePass {get; set;}
'Declaration
 
<DisplayNameAttribute("Enable double pass")>
<DescriptionAttribute("If no barcodes of this symbology are found, auto pre-process the image and then re-scan")>
<DefaultValueAttribute()>
<CategoryAttribute("			Options")>
Public Property EnableDoublePass As Boolean
'Usage
 
Dim instance As DatamatrixBarcodeReadOptions
Dim value As Boolean
 
instance.EnableDoublePass = value
 
value = instance.EnableDoublePass
[DisplayNameAttribute("Enable double pass")]
[DescriptionAttribute("If no barcodes of this symbology are found, auto pre-process the image and then re-scan")]
[DefaultValueAttribute()]
[CategoryAttribute("			Options")]
public bool EnableDoublePass {get; set;}
@property (nonatomic, assign) BOOL enableDoublePass
public boolean getEnableDoublePass()
public void setEnableDoublePass(boolean value)
            
DisplayNameAttribute("Enable double pass")
DescriptionAttribute("If no barcodes of this symbology are found, auto pre-process the image and then re-scan")
DefaultValueAttribute()
CategoryAttribute("			Options")
 <br/>get_EnableDoublePass();<br/>set_EnableDoublePass(value);<br/>Object.defineProperty('EnableDoublePass'); 
[DisplayNameAttribute("Enable double pass")]
[DescriptionAttribute("If no barcodes of this symbology are found, auto pre-process the image and then re-scan")]
[DefaultValueAttribute()]
[CategoryAttribute("			Options")]
public:
property bool EnableDoublePass {
   bool get();
   void set (    bool value);
}

Property Value

true to use double pass when reading Datamatrix symbols. Otherwise, false. The default value is false.
Remarks

When reading 2D barcodes, LEADTOOLS can perform internal auto preprocessing on the image and try again if the engine cannot detect the barcode required. This may take extra processing and increase the barcode detection time. Therefore, it is best to set EnableDoublePass to true only in certain situations, as follows:

The LEADTOOLS .NET C# and VB Barcode demos leave double pass disabled by default. If the engine tries to read a DataMatrix barcode but cannot find it, it will then ask the user if DoublePass should be enabled and reading be retried. An approach like that (or an automated one: Read. If failure, enable and read again) can also be used.

Example

For an example, refer to DatamatrixBarcodeReadOptions.

Requirements

Target Platforms

See Also

Reference

DatamatrixBarcodeReadOptions Class
DatamatrixBarcodeReadOptions Members

Error processing SSI file
Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features