←Select platform

BackColor Property

Summary

Gets or sets the barcode background (spaces) color used when writing barcodes.

Syntax
C#
VB
Objective-C
C++
Java
public RasterColor BackColor { get; set; } 
Public Property BackColor As RasterColor 
@property (nonatomic, copy) LTRasterColor *backColor 
public RasterColor getBackColor() 
public void setBackColor(RasterColor value) 
public: 
property RasterColor BackColor { 
   RasterColor get(); 
   void set (    RasterColor ); 
} 

Property Value

A RasterColor that specifies the barcode background (spaces) color to use when writing barcodes. Default value is "White" (RGB of #FFFFFF).

Remarks

LEADTOOLS will use ForeColor and BackColor when drawing the new barcode to the image and no special processing is performed. Note that you can specify a transparent color for BackColor to "overlay" the barcode on top of the background of the image. This however is not recommended.

Example

For an example, refer to ForeColor.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly