LEADTOOLS Barcode (Leadtools.Barcode assembly)
LEAD Technologies, Inc

BackColor Property (IBarcodeReadOptions)








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

Property Value

A Leadtools.RasterColor that specifies the barcode background (spaces) color to use when searching for barcodes. 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: 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

See Also

Reference

IBarcodeReadOptions Interface
IBarcodeReadOptions Members
ForeColor Property

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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