Printer Object
 
Syntax
 
Printer.Align taSetting
 
Description
Returns or sets the alignment of printed paragraphs, textboxes and tables.
The settings for the Align method are described below:
 
Parameter
Description
taSetting
This parameter contains the following pre-defined constants and values:
 
Constant
Value
Description
taLeftTop
0
Align to the left and to the top.
taCenterTop
1
Align to the center and to the top.
taRightTop
2
Align to the right and to the top.
taLeftBottom
3
Align to the left and to the bottom.
taCenterBottom
4
Align to the center and to the bottom.
taRightBottom
5
Align to the right and to the bottom.
taLeftMiddle
6
Align to the left and to the middle.
taCenterMiddle
7
Align to the center and to the middle.
taRightMiddle
8
Align to the right and to the middle.
taJustTop
9
Justify and align to the top.
taJustBottom
10
Justify and align to the bottom.
taJustMiddle
11
Justify and align to the middle.
 
 
The setting specifies the horizontal and vertical alignment. The vertical alignment specification only applies for text drawn in table cells and text boxes. For regular paragraphs and text, the top of the characters is rendered at the CurrentY position.
See Also
 
Example