Property: TopMargin

Specifies the top margin of the barcode symbol in pixels.

Syntax:

property TopMargin: Integer;

Description:

Specifies the margin between the topmost of the barcode symbol and the top side of the TImage, TQRImage, or TQRGzImage control that is specified by the Image property, in pixels. See diagram:

If the human readable text is displayed, it's included in the barcode symbol. See diagram:

For TBarcode1D_UPCA, TBarcode1D_UPCE, TBarcode1D_UPCE0, TBarcode1D_UPCE1, TBarcode1D_EAN2, TBarcode1D_EAN5, TBarcode1D_EAN8, and TBarcode1D_EAN13 barcode components, if the human readable text is displayed, and the TextAlignment property is set to taCustom, the left and right quiet zones marks and their horizontal spacing are included in the barcode symbol too. See diagram:

For TBarcode1D_ITF6, TBarcode1D_ITF14, and TBarcode1D_ITF16 barcode components, all bearer bars, the left and right spacing are included in the barcode symbol too. See diagram:

If the human readable text is displayed and it exceeds the barcode symbol in horizontal or vertical direction, the excess is included in the barcode symbol too. See diagram:

It is set using the following formula:

Contents