←Select platform

EnableInvertedSymbols Property

Summary

Gets or sets a value indicating whether the Datamatrix reader will search for both inverted and normal (non-inverted) symbols.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[DefaultValueAttribute()] 
[DisplayNameAttribute("Enable Reversed Color Symbols")] 
[DescriptionAttribute("Forces the DataMatrix reader to search for both inverted and normal (non-inverted) symbols")] 
[CategoryAttribute("            Options")] 
public bool EnableInvertedSymbols {get; set;} 
<DefaultValueAttribute()> 
<DisplayNameAttribute("Enable Reversed Color Symbols")> 
<DescriptionAttribute("Forces the DataMatrix reader to search for both inverted and normal (non-inverted) symbols")> 
<CategoryAttribute("         Options")> 
Public Property EnableInvertedSymbols As Boolean 
[DefaultValueAttribute()] 
[DisplayNameAttribute("Enable Reversed Color Symbols")] 
[DescriptionAttribute("Forces the DataMatrix reader to search for both inverted and normal (non-inverted) symbols")] 
[CategoryAttribute("            Options")] 
public bool EnableInvertedSymbols {get; set;} 
@property (nonatomic, assign) BOOL enableInvertedSymbols 
public boolean getEnableInvertedSymbols() 
public void setEnableInvertedSymbols(boolean value) 
             
DefaultValueAttribute() 
DisplayNameAttribute("Enable Reversed Color Symbols") 
DescriptionAttribute("Forces the DataMatrix reader to search for both inverted and normal (non-inverted) symbols") 
CategoryAttribute("         Options") 
  
get_EnableInvertedSymbols(); 
set_EnableInvertedSymbols(value); 
Object.defineProperty('EnableInvertedSymbols');  
[DefaultValueAttribute()] 
[DisplayNameAttribute("Enable Reversed Color Symbols")] 
[DescriptionAttribute("Forces the DataMatrix reader to search for both inverted and normal (non-inverted) symbols")] 
[CategoryAttribute("            Options")] 
public: 
property bool EnableInvertedSymbols { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true to force the Datamatrix engine to search for both inverted and normal (non-inverted) symbols. Otherwise, false. The default value is false.

Remarks

The Datamatrix reader engine can automatically read inverted symbols. An inverted symbol is one that has white foreground color and black background for example.

Notice that the colors to search for when reading Datamatrix barcodes can be set using ForeColor and BackColor. When EnableInvertedSymbols is true, the engine will use the two colors specified and then automatically flip them and try again if it cannot find the symbol.

Example

For an example, refer to DatamatrixBarcodeReadOptions.

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