←Select platform

AvoidCorruptedBlocks Property

Summary

Gets or sets a value that indicates whether to avoid corrupted blocks when reading barcodes.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[DescriptionAttribute("Use logic to move around a corrupted area inside a barcode. The engine will attempt to move to a readable area within the barcode to avoid an area that can not be read. This has the potential to noticeably reduce the speed of the engine and therefore, it is not recommended for normal use")] 
[DisplayNameAttribute("Avoid corrupted blocks")] 
[CategoryAttribute("        Error Checking and Correction")] 
[DefaultValueAttribute()] 
public bool AvoidCorruptedBlocks {get; set;} 
<DescriptionAttribute("Use logic to move around a corrupted area inside a barcode. The engine will attempt to move to a readable area within the barcode to avoid an area that can not be read. This has the potential to noticeably reduce the speed of the engine and therefore, it is not recommended for normal use")> 
<DisplayNameAttribute("Avoid corrupted blocks")> 
<CategoryAttribute("     Error Checking and Correction")> 
<DefaultValueAttribute()> 
Public Property AvoidCorruptedBlocks As Boolean 
[DescriptionAttribute("Use logic to move around a corrupted area inside a barcode. The engine will attempt to move to a readable area within the barcode to avoid an area that can not be read. This has the potential to noticeably reduce the speed of the engine and therefore, it is not recommended for normal use")] 
[DisplayNameAttribute("Avoid corrupted blocks")] 
[CategoryAttribute("        Error Checking and Correction")] 
[DefaultValueAttribute()] 
public bool AvoidCorruptedBlocks {get; set;} 
@property (nonatomic, assign) BOOL avoidCorruptedBlocks 
public boolean getAvoidCorruptedBlocks() 
public void setAvoidCorruptedBlocks(boolean value) 
             
DescriptionAttribute("Use logic to move around a corrupted area inside a barcode. The engine will attempt to move to a readable area within the barcode to avoid an area that can not be read. This has the potential to noticeably reduce the speed of the engine and therefore, it is not recommended for normal use") 
DisplayNameAttribute("Avoid corrupted blocks") 
CategoryAttribute("     Error Checking and Correction") 
DefaultValueAttribute() 
  
get_AvoidCorruptedBlocks(); 
set_AvoidCorruptedBlocks(value); 
Object.defineProperty('AvoidCorruptedBlocks');  
[DescriptionAttribute("Use logic to move around a corrupted area inside a barcode. The engine will attempt to move to a readable area within the barcode to avoid an area that can not be read. This has the potential to noticeably reduce the speed of the engine and therefore, it is not recommended for normal use")] 
[DisplayNameAttribute("Avoid corrupted blocks")] 
[CategoryAttribute("        Error Checking and Correction")] 
[DefaultValueAttribute()] 
public: 
property bool AvoidCorruptedBlocks { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true to avoid corrupted blocks when reading barcodes. Otherwise, false. The default value is false.

Remarks

When the value of AvoidCorruptedBlocks is set to true, then the engine will use logic to move around a corrupted area inside a barcode. The reader will attempt to move to a readable area within the barcode to avoid an area that can not be read. This has the potential to noticeably reduce the speed of the engine and therefore, it is not recommended for normal use.

Example

For an example, refer to OneDBarcodeReadOptions.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Barcode Assembly
Click or drag to resize