Specifies the vertical alignment of the logo picture in a barcode symbol.
type
{ Defined in the pLogo2D unit }
TVerticalAlignment = (vaTop, vaCenter, vaBottom);
property VerticalAlignment: TVerticalAlignment default vaCenter;
Specifies the vertical alignment of the logo picture in a barcode symbol. It can be one of the following values (defined in the pLogo2D unit):
vaTop: The logo picture with its top margin is aligned to the top edge of barcode symbol (the top queit zone isn't included if it is represented). The top margin of the logo picture is the distance between the top edges of barcode symbol and the logo picture, in modules. It's specified by the VerticalMargin property. See diagram:
vaCenter: The logo picture will be centred in vertical direction, the number of modules on top of the logo picture is equal to the number of modules on bottom of the logo picture.
If the total number of modules on top and bottom of logo picture is odd, the property AlignToModule will be used to place the logo picture in a barcode symbol in vertical direction. Set the property to true to align the logo picture to module edge, and the number of modules on top of the logo picture is 1 less than the number of modules on bottom of the logo picture. If the property is set the false, a half of module will be included in the modules on top and bottom of logo picture, the logo picture will be centred in vertical direction absolutely. See diagram:
vaBottom: The logo picture with its bottom margin is aligned to the bottom edge of barcode symbol (the bottom queit zone isn't included if it is represented). The bottom margin of the logo picture is the distance between the bottom edges of barcode symbol and the logo picture, in modules. It's specified by the VerticalMargin property. See diagram:
The paddings is included in the logo picture if the Padding property is set to 1 or more. See diagram:
If the Orientation property of TBarcode2D is set to "boRightLeft", "boTopBottom" or "boBottomTop", the logo picture will be rotated too, and the property specifies the vertical alignment of the logo picture before rotating. See diagram: