Partager via


HorizontalTextAlignmentEnum enumeration

Contains values for the HorizontalTextAlignment text attribute.

Syntax

enum HorizontalTextAlignmentEnum {
  HorizontalTextAlignment_Left, 
  HorizontalTextAlignment_Centered, 
  HorizontalTextAlignment_Right, 
  HorizontalTextAlignment_Justified 

};

Constants

  • HorizontalTextAlignment_Left
    Left alignment.

  • HorizontalTextAlignment_Centered
    Centered alignment.

  • HorizontalTextAlignment_Right
    Right alignment.

  • HorizontalTextAlignment_Justified
    Justified alignment.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

UIAutomationCore.h (include UIAutomation.h)

See also

Text Attribute Identifiers