ForeColor, BackColor Properties

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

Syntax

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

Parameters

object

The Barcode Active Server Component

color

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

Remarks

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.