HAlign Property
HAlign returns or sets the horizontal alignment of text. Returns a SrfHTextAlign.
Syntax
object.HAlign
object.HAlign = Align
Parameter |
Type |
Description |
Align |
required |
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 = srfTACenter
Used by: FontFormat object