Leadtools.Barcode Requires Barcode add-on license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.12
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;}
Managed Extensions for C++ 
public: __property Color get_BarColor();
public: __property void set_BarColor( 
   Color value
);
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 Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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