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 control that is specified by the Image property, in pixels.

If the quiet zones are displayed (please read the ShowQuietZone property about whether or not the quiet zones will be displayed), they are included in the barcode symbol. See diagram (the SpaceColor property value is set to claSilver in order to accentuate the quiet zones):

TopMargin property

It is set using the following formula:

Note:

For the TBarcodeFmx2D_Code16K barcode components, the leading quiet zone and the trailing quiet zone are included always, even if the ShowQuietZone is set to false. See diagram (the SpaceColor property value is set to claSilver in order to accentuate the quiet zones):

TopMargin property (Code 16K)

Contents