Leadtools.Services.Barcode.DataContracts Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
BarColor Property
See Also 
Leadtools.Services.Barcode.DataContracts Namespace > BarcodeColor Class : BarColor Property



Specifies the bar color for the barcode.

Syntax

Visual Basic (Declaration) 
<DataMemberAttribute(Name="BarColor", IsRequired=True)>
Public Property BarColor As String
Visual Basic (Usage)Copy Code
Dim instance As BarcodeColor
Dim value As String
 
instance.BarColor = value
 
value = instance.BarColor
C# 
[DataMemberAttribute(Name="BarColor", IsRequired=true)]
public string BarColor {get; set;}
C++/CLI 
[DataMemberAttribute(Name="BarColor", IsRequired=true)]
public:
property String^ BarColor {
   String^ get();
   void set (String^ value);
}

Return Value

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

Example

For an example, refer to Barcode1d 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features