Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Barcode Namespace > DatamatrixBarcodeReadOptions Class : EnableInvertedSymbols Property |
[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;}
'Declaration
<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
'Usage
Dim instance As DatamatrixBarcodeReadOptions Dim value As Boolean instance.EnableInvertedSymbols = value value = instance.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 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") <br/>get_EnableInvertedSymbols();<br/>set_EnableInvertedSymbols(value);<br/>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 value); }
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.
For an example, refer to DatamatrixBarcodeReadOptions.