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



The BarColor Property is available in LEADTOOLS Document and Medical Imaging toolkits.

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);
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

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