Property: BarcodeWidth

Specifies the distance between the beginning and end of a barcode symbol in pixels.

Syntax:

property BarcodeWidth: Integer;

Description:

Specifies the distance between the beginning and end of a barcode symbol in pixels. If the quiet zones are represented (the ShowQuietZone property is set to true), the leading quiet zone and the trailing quiet zone are included. See diagram (the SpaceColorproperty value is set to clSilver in order to accentuate the quiet zones):

BarcodeWidth property

For the TBarcode2D_CCA, TBarcode2D_CCB, and TBarcode2D_CCC components, if the Linear property is set, the 2D symbol and the linear symbol are assembled to generate an EAN.UCC composite barcode symbol, the linear component is included in the composite barcode symbol. And the property specifies the width for entire EAN.UCC composite barcode symbol not for the 2D symbol. See diagram (the SpaceColor property value is set to clSilver in order to accentuate the quiet zones):

BarcodeWidth property (CC-A, CC-B, CC-C)

The property is set using the following formula:

Note:

For the TBarcode2D_Code16K barcode component, the leading quiet zoneand the trailing quiet zone are included always, even if the ShowQuietZone property is set to false. See diagram (the SpaceColorproperty value is set to clSilver in order to accentuate the quiet zones):

BarcodeWidth property (Code 16K)

For the TBarcode2D_CCA, TBarcode2D_CCB, and TBarcode2D_CCC components, when the linear component is TBarcode1D_UPCA, TBarcode1D_UPCE, TBarcode1D_UPCE0, TBarcode1D_UPCE1, TBarcode1D_EAN8, TBarcode1D_EAN13, or TBarcode1D_EAN128, and its human readable text is represented. If the TextAlignment property isn't set to taCustom, and the human readable text exceeds entire EAN.UCC composite barcode symbol in horizontal direction, the excess is included in the value of BarcodeWidth property. If the TextAlignment property is set to taCustom, the width of quiet zone marks and their horizontal spacing (LeftQuietZoneSpacing and RightQuietZoneSpacing) are included too (if they are represented, this does not apply to TBarcode1D_EAN128). See diagram (the SpaceColor property is set to clSilver in order to accentuate the quiet zones):

BarcodeWidth property (CC-A, CC-B, CC-C; TextAlignment = taCustom; Text exceeds bounds)

Contents