←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++
public bool AvoidCorruptedBlocks { get; set; } 
Public Property AvoidCorruptedBlocks As Boolean 
public bool AvoidCorruptedBlocks {get; set;} 
@property (nonatomic, assign) BOOL avoidCorruptedBlocks 
public boolean getAvoidCorruptedBlocks() 
public void setAvoidCorruptedBlocks(boolean value) 
             
 <br/>get_AvoidCorruptedBlocks();<br/>set_AvoidCorruptedBlocks(value);<br/>Object.defineProperty('AvoidCorruptedBlocks');  
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

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

Leadtools.Barcode Assembly