Leadtools.Barcode Namespace > DatamatrixBarcodeReadOptions Class : EnableInvertedSymbols Property |
[CategoryAttribute(" Options")] [DisplayNameAttribute("Enable Reversed Color Symbols")] [DescriptionAttribute("Forces the Datamatrix reader to search for both inverted and normal (non-inverted) symbols")] [DefaultValueAttribute()] public bool EnableInvertedSymbols {get; set;}
'Declaration <CategoryAttribute(" Options")> <DisplayNameAttribute("Enable Reversed Color Symbols")> <DescriptionAttribute("Forces the Datamatrix reader to search for both inverted and normal (non-inverted) symbols")> <DefaultValueAttribute()> Public Property EnableInvertedSymbols As Boolean
'Usage Dim instance As DatamatrixBarcodeReadOptions Dim value As Boolean instance.EnableInvertedSymbols = value value = instance.EnableInvertedSymbols
[CategoryAttribute(" Options")] [DisplayNameAttribute("Enable Reversed Color Symbols")] [DescriptionAttribute("Forces the Datamatrix reader to search for both inverted and normal (non-inverted) symbols")] [DefaultValueAttribute()] public bool EnableInvertedSymbols {get; set;}
ObjectiveC Syntax
Java Syntax
CategoryAttribute(" Options") DisplayNameAttribute("Enable Reversed Color Symbols") DescriptionAttribute("Forces the Datamatrix reader to search for both inverted and normal (non-inverted) symbols") DefaultValueAttribute() get_EnableInvertedSymbols();
set_EnableInvertedSymbols(value);
[CategoryAttribute(" Options")] [DisplayNameAttribute("Enable Reversed Color Symbols")] [DescriptionAttribute("Forces the Datamatrix reader to search for both inverted and normal (non-inverted) symbols")] [DefaultValueAttribute()] 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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2