LEADTOOLS Barcode (Leadtools.Barcode assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
BarColor Property
See Also 
Leadtools.Barcode Namespace > BarcodeColor Class : BarColor Property



Specifies the bar color for barcode.

Syntax

Visual Basic (Declaration) 
Public Property BarColor As RasterColor
Visual Basic (Usage)Copy Code
Dim instance As BarcodeColor
Dim value As RasterColor
 
instance.BarColor = value
 
value = instance.BarColor
C# 
public RasterColor BarColor {get; set;}
C++/CLI 
public:
property RasterColor BarColor {
   RasterColor get();
   void set (    RasterColor value);
}

Property Value

Bar color for barcode. The default value is the black color - RGB(0, 0, 0).

Example

For an example, refer to BarcodeEngine.Read example.

Remarks

This is used as the color of the bars for writing. For reading, this is used as the color of the bars when searching for the barcode in the image.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features