37
activePDF Toolkit Professional Edition
aptkl4a 30405
Copyright 2005, activePDF, Inc. All Rights Reserved.
Page 433 of 553
CommentAlignment
Description
Sets the text alignment for the comment.
Return type
None
Syntax
Object.
CommentAlignment
= value
The CommentAlignment property has these required parts:
Part
Value Type
Description
Object
An expression of the Barcode object.
Value
Long
0 = Left alignment (default). Align the text with left edge of the
comment box.
1=Right alignment. Align the text with the right edge of the
comment box.
2=Center alignment. Align the text with the center of the
comment box.
3=Justify alignment. Align the text to both edges of the comment
box.
Remarks
The comment margins are calculated different depending on the alignment and current design mode.
In BDM, Toolkit measures the horizontal margins from the edge of the comment to the edge of the
generated barcode.
In LDM, Toolkit measures the horizontal margins from the edge of the comment to the label boundary.
Vertical comment margins are not affected.
For additional details, refer to the CommentMarginBottom,CommentMarginLeft,CommentMarginRight,
CommentMarginTop properties.