Gets or sets a value indicating whether to enable the double pass setting when reading 1D symbols.
[DescriptionAttribute("If no barcodes of this symbology are found, auto pre-process the image and then re-scan")]
[CategoryAttribute(" Options")]
[DisplayNameAttribute("Enable double pass")]
[DefaultValueAttribute()]
public bool EnableDoublePass {get; set;}
<DescriptionAttribute("If no barcodes of this symbology are found, auto pre-process the image and then re-scan")>
<CategoryAttribute(" Options")>
<DisplayNameAttribute("Enable double pass")>
<DefaultValueAttribute()>
Public Property EnableDoublePass As Boolean
[DescriptionAttribute("If no barcodes of this symbology are found, auto pre-process the image and then re-scan")]
[CategoryAttribute(" Options")]
[DisplayNameAttribute("Enable double pass")]
[DefaultValueAttribute()]
public bool EnableDoublePass {get; set;}
DescriptionAttribute("If no barcodes of this symbology are found, auto pre-process the image and then re-scan")
CategoryAttribute(" Options")
DisplayNameAttribute("Enable double pass")
DefaultValueAttribute()
get_EnableDoublePass();
set_EnableDoublePass(value);
Object.defineProperty('EnableDoublePass');
[DescriptionAttribute("If no barcodes of this symbology are found, auto pre-process the image and then re-scan")]
[CategoryAttribute(" Options")]
[DisplayNameAttribute("Enable double pass")]
[DefaultValueAttribute()]
public:
property bool EnableDoublePass {
bool get();
void set ( bool );
}
true to use double pass when reading 1D symbols. Otherwise, false. The default value is false.
When reading 1D 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 application is reading barcodes of this type exclusively (for example, a dedicated 1D reader is being used). In this case, reading the barcodes is always more important than recognition speed.
The application uses barcode detection on a server. In this case, the time spent on the actual barcode detection is most probably less than the time required to send the image to the server and get the result back due to network latency. Thus it makes sense to enable double pass in this situation.
The images provided have a small resolution (DPI) or are known to come from a source that does not always provide clean images (for example, a Fax machine or a Scanner). Enabling double pass here ensures that the barcodes can be read regardless of the quality of the input image.
The LEADTOOLS .NET C# and VB Barcode demos leave double pass disabled by default. If the engine tries to read a 1D 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.
For an example, refer to OneDBarcodeReadOptions.
Products |
Support |
Feedback: EnableDoublePass Property (OneDBarcodeReadOptions) - Leadtools.Barcode |
Introduction |
Help Version 19.0.2017.6.21
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.