HAlign Property [AutoMFont]
The HAlign property returns or sets the text horizontal alignment.
Syntax
object.HAlign
object.HAlign = Align
Parameter | Type | Description |
Align | grfHTextAlign | required, alignment |
Example 1
This example demonstrates how to return the horizontal alignment of a text string.
Debug.Print FontFormat.HAlign
Example 2
This example demonstrates how to horizontally center a text string.
FontFormat.HAlign = grfTACenter
Used by: AutoMFont object