Property: SpaceColor

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

Syntax:

property SpaceColor: TAlphaColor;

Description:

For the Matrix 2D barcode symbologies, including TBarcodeFmx2D_AztecCode, TBarcodeFmx2D_AztecRunes, TBarcodeFmx2D_DataMatrix, TBarcodeFmx2D_DataMatrixECC200, TBarcodeFmx2D_HanXinCode, TBarcodeFmx2D_GridMatrix, TBarcodeFmx2D_CompactMatrix, TBarcodeFmx2D_QRCode, TBarcodeFmx2D_MaxiCode, and TBarcodeFmx2D_MicroQRCode, the property specifies the color of every light module (background color) 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 TBarcodeFmx2D_Code16K, TBarcodeFmx2D_PDF417, TBarcodeFmx2D_MicroPDF417, TBarcodeFmx2D_RSS14, TBarcodeFmx2D_RSSLimited, and TBarcodeFmx2D_RSSExpanded, the property specifies the color for all spaces (background color) in the barcode symbol if the Inversed property is set to false. Otherwise, it specifies the color for all bars.

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

Contents