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 > BarcodeReadOptions Class : BackColor Property |
[CategoryAttribute(" Colors")] [DescriptionAttribute("Background (space) color to use when searching for barcodes")] [DisplayNameAttribute("Background color")] public RasterColor BackColor {get; set;}
'Declaration
<CategoryAttribute(" Colors")> <DescriptionAttribute("Background (space) color to use when searching for barcodes")> <DisplayNameAttribute("Background color")> Public Property BackColor As RasterColor
'Usage
Dim instance As BarcodeReadOptions Dim value As RasterColor instance.BackColor = value value = instance.BackColor
[CategoryAttribute(" Colors")] [DescriptionAttribute("Background (space) color to use when searching for barcodes")] [DisplayNameAttribute("Background color")] public RasterColor BackColor {get; set;}
@property (nonatomic, copy) LTRasterColor *backColor
public RasterColor getBackColor() public void setBackColor(RasterColor value)
CategoryAttribute(" Colors") DescriptionAttribute("Background (space) color to use when searching for barcodes") DisplayNameAttribute("Background color") <br/>get_BackColor();<br/>set_BackColor(value);<br/>Object.defineProperty('BackColor');
[CategoryAttribute(" Colors")] [DescriptionAttribute("Background (space) color to use when searching for barcodes")] [DisplayNameAttribute("Background color")] public: property RasterColor BackColor { RasterColor get(); void set ( RasterColor value); }
If the input image is bitonal (B/W), then this value will not be used. The foreground color is always considered to be black (or the foreground color in the image palette) and the background color is always considered to be white (or the background color in the image palette).
When the input image is not bitonal, LEADTOOLS will perform an intensity detect operation on the image to convert it to black and white before searching for the barcodes and uses the value of ForeColor and BackColor as the high and low threshold.
For an example, refer to ForeColor.