The BarcodeColor Class is available in LEADTOOLS Document and Medical Imaging toolkits.
This class contains information about colors to be used when reading or writing barcodes.Visual Basic (Declaration) | |
---|---|
<DataContractAttribute(Namespace="http://Leadtools.Services.Barcode.DataContracts/2009/01", Name="BarcodeColor")> Public Class BarcodeColor |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As BarcodeColor |
C# | |
---|---|
[DataContractAttribute(Namespace="http://Leadtools.Services.Barcode.DataContracts/2009/01", Name="BarcodeColor")] public class BarcodeColor |
C++/CLI | |
---|---|
[DataContractAttribute(Namespace="http://Leadtools.Services.Barcode.DataContracts/2009/01", Name="BarcodeColor")] public ref class BarcodeColor |
For an example, refer to Barcode1d example.
The Leadtools.Services.Barcode.ServiceContracts.IBarcodeService.Read and IBarcodeService.Write methods will ignore the values of BarcodeColor.BarColor and BarcodeColor.SpaceColor properties when the image is 1BPP. For 16 or 32 BPP images, this is the actual value of the pixel as found in the image.
System.Object
Leadtools.Services.Barcode.DataContracts.BarcodeColor
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Reference
BarcodeColor MembersLeadtools.Services.Barcode.DataContracts Namespace
Leadtools.Services.Barcode.ServiceContracts.IBarcodeService.Read(Leadtools.Services.Barcode.DataContracts.ReadRequest)
Leadtools.Services.Barcode.ServiceContracts.IBarcodeService.Write(Leadtools.Services.Barcode.DataContracts.WriteRequest)