Leadtools.Barcode.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
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 Color
Visual Basic (Usage)Copy Code
Dim instance As BarcodeColor
Dim value As Color
 
instance.BarColor = value
 
value = instance.BarColor
C# 
public Color BarColor {get; set;}
C++/CLI 
public:
property Color BarColor {
   Color get();
   void set (Color value);
}

Return 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 CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also

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