Error processing SSI file
LEADTOOLS Barcode (Leadtools.Barcode assembly)

Show in webframe

BackColor Property (IBarcodeReadOptions)








Gets or sets the barcode background (spaces) color used when reading barcodes.
Syntax
[DescriptionAttribute("Background (space) color to use when searching for barcodes")]
[DisplayNameAttribute("Background color")]
[CategoryAttribute("				Colors")]
RasterColor BackColor {get; set;}
'Declaration
 
<DescriptionAttribute("Background (space) color to use when searching for barcodes")>
<DisplayNameAttribute("Background color")>
<CategoryAttribute("				Colors")>
Property BackColor As RasterColor
'Usage
 
Dim instance As IBarcodeReadOptions
Dim value As RasterColor
 
instance.BackColor = value
 
value = instance.BackColor
[DescriptionAttribute("Background (space) color to use when searching for barcodes")]
[DisplayNameAttribute("Background color")]
[CategoryAttribute("				Colors")]
RasterColor BackColor {get; set;}
DescriptionAttribute("Background (space) color to use when searching for barcodes")
DisplayNameAttribute("Background color")
CategoryAttribute("				Colors")
<br/>get_BackColor();<br/>set_BackColor(value);<br/>Object.defineProperty('BackColor'); 
[DescriptionAttribute("Background (space) color to use when searching for barcodes")]
[DisplayNameAttribute("Background color")]
[CategoryAttribute("				Colors")]
property RasterColor BackColor {
   RasterColor get();
   void set (    RasterColor value);
}

Property Value

A RasterColor that specifies the barcode background (spaces) color to use when searching for barcodes. The default value is "White" (RGB of #FFFFFF).
Remarks

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.

Example

For an example, refer to ForeColor.

Requirements

Target Platforms

See Also

Reference

IBarcodeReadOptions Interface
IBarcodeReadOptions Members
ForeColor Property

Error processing SSI file
Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features