Version

HorizontalTextAlignment Enumeration

Represents the various horizontal text alignment types.
Syntax
'Declaration
 
Public Enum HorizontalTextAlignment 
   Inherits System.Enum
public enum HorizontalTextAlignment : System.Enum 
Members
MemberDescription
CenterAlign text in the center of the line.
DistributedDistributes the words across the entire line.
JustifiedAlign text so it is justified across the line.
JustifiedLowAligns the text with an adjusted kashida length for Arabic text.
LeftAlign the text to the left of the line.
RightAlign the text to the right of the line.
ThaiDistributedDistributes Thai text by treating each character as a word.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also