ForeColor, BackColor Properties

Determine the foreground and background colors used to draw the barcode.


object.ForeColor [ = color ]
object.BackColor [ = color ]



The Barcode Active Server Component


Numeric value specifying the color value (in RGB format with red taking least significant byte, green the next and so on.)


If you're using the PNG image format, please keep in mind that the current generation of browsers' support for PNG is limited and therefore changing these properties may result in an image that cannot be well rendered by the browsers (technically, certain browsers may fail to render PNG images that contain a palette).

The default values are black for ForeColoe and white for BackColor.