Leadtools.Barcode Namespace > DatamatrixBarcodeReadOptions Class : EnableInvertedSymbols Property |
[DescriptionAttribute("Forces the Datamatrix reader to search for both inverted and normal (non-inverted) symbols")] [DefaultValueAttribute()] [DisplayNameAttribute("Enable Reversed Color Symbols")] [CategoryAttribute(" Options")] public bool EnableInvertedSymbols {get; set;}
'Declaration <DescriptionAttribute("Forces the Datamatrix reader to search for both inverted and normal (non-inverted) symbols")> <DefaultValueAttribute()> <DisplayNameAttribute("Enable Reversed Color Symbols")> <CategoryAttribute(" Options")> Public Property EnableInvertedSymbols As Boolean
'Usage Dim instance As DatamatrixBarcodeReadOptions Dim value As Boolean instance.EnableInvertedSymbols = value value = instance.EnableInvertedSymbols
[DescriptionAttribute("Forces the Datamatrix reader to search for both inverted and normal (non-inverted) symbols")] [DefaultValueAttribute()] [DisplayNameAttribute("Enable Reversed Color Symbols")] [CategoryAttribute(" Options")] public bool EnableInvertedSymbols {get; set;}
@property (nonatomic, assign) BOOL enableInvertedSymbols;
public boolean getEnableInvertedSymbols() public void setEnableInvertedSymbols(boolean value)
DescriptionAttribute("Forces the Datamatrix reader to search for both inverted and normal (non-inverted) symbols") DefaultValueAttribute() DisplayNameAttribute("Enable Reversed Color Symbols") CategoryAttribute(" Options")
get_EnableInvertedSymbols();
set_EnableInvertedSymbols(value);
Object.defineProperty('EnableInvertedSymbols');
[DescriptionAttribute("Forces the Datamatrix reader to search for both inverted and normal (non-inverted) symbols")] [DefaultValueAttribute()] [DisplayNameAttribute("Enable Reversed Color 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.