Share

TextGraphics.HorizontalAlignment Property

Parent Object: TextGraphics

Description

Read-write property that allows you to specify the horizontal justification of the text with respect to the coordinate point for the text.

Syntax

TextGraphics.HorizontalAlignment() As HorizontalTextAlignmentEnum

Property Value

This is a read/write property whose value is a HorizontalTextAlignmentEnum.

Samples

Name Description
Text Using Client Graphics (Simple) This sample demonstrates creating text using client graphics. It illustrates the simple case where the text is one font and is one line.
Text Using Client Graphics (Multiple fonts and lines) This sample demonstrates creating text using client graphics. It illustrates the more complex case of changes in font and more than one line.

Version

Introduced in version 5

Was this information helpful?