TextFrame.VerticalTextAlignment Property
Publisher Developer Reference |
Returns or sets a PbVerticalTextAlignmentType constant that represents the vertical alignment of text in a text box. Read/write.
Syntax
expression.VerticalTextAlignment
expression A variable that represents a TextFrame object.
Remarks
The VerticalTextAlignment property value can be one of these PbVerticalTextAlignmentType constants.
pbVerticalTextAlignmentBottom |
pbVerticalTextAlignmentCenter |
pbVerticalTextAlignmentTop |
Example
This example vertically centers the text in the specified text frame. This example assumes there is at least one shape on the first page of the active publication.
Visual Basic for Applications |
---|
|
See Also