Property: SpaceColor

Specifies the color for all spaces or light modules in the barcode symbol, By default, it's clWhite.

Syntax:

property SpaceColor: TColor;

Description:

For the Matrix 2D barcode symbologies, including TBarcode2D_AztecCode, TBarcode2D_AztecRunes, TBarcode2D_DataMatrix, TBarcode2D_DataMatrixECC200, TBarcode2D_HanXinCode, TBarcode2D_GridMatrix, TBarcode2D_CompactMatrix, TBarcode2D_QRCode, TBarcode2D_MaxiCode, and TBarcode2D_MicroQRCode, the property specifies the color of every light module in matrix symbol if the Inversed property is set to false, otherwise, it specifies the color of every dark module. The module is single cell in the matrix symbol used to encode one bit data, nominally a suqare shape, in MaxiCode symbology, it's a regular hexagonal shape.

For Stacked 2D barcode symbologies and Linear 1D barcode symbologies, including TBarcode2D_Code16K, TBarcode2D_PDF417, TBarcode2D_MicroPDF417, TBarcode2D_CCA, TBarcode2D_CCB, TBarcode2D_CCC, TBarcode2D_RSS14, TBarcode2D_RSSLimited, and TBarcode2D_RSSExpanded, the property specifies the color for all spaces in the barcode symbol if the Inversed property is set to false, otherwise, it specifies the color for all bars.

For the 2D component TBarcode2D_CCA, TBarcode2D_CCB, or TBarcode2D_CCC, if its Linear property is set, the 2D symbol and the linear symbol are assembled to generate an EAN.UCC composite barcode symbol, the property is in effect for entire EAN.UCC composite symbol (including both 2D and linear symbols).

Also, when the leading quiet zone, trailing quiet zone, top quiet zone, and bottom quiet zone are represented (the ShowQuietZone property value is set to true), the color specified by this SpaceColor property will be used to represend them if the Inversed property is set to false, otherwise, the color specified by the BarColor property will be used.

Contents