Freigeben über


DWRITE_TEXT_ALIGNMENT Enumeration

Specifies the alignment of paragraph text along the reading direction axis, relative to the leading and trailing edge of the layout box.

Syntax

enum DWRITE_TEXT_ALIGNMENT {
  DWRITE_TEXT_ALIGNMENT_LEADING,
  DWRITE_TEXT_ALIGNMENT_TRAILING,
  DWRITE_TEXT_ALIGNMENT_CENTER 
};

Konstanten

  • DWRITE_TEXT_ALIGNMENT_LEADING
    The leading edge of the paragraph text is aligned to the leading edge of the layout box.

  • DWRITE_TEXT_ALIGNMENT_TRAILING
    The trailing edge of the paragraph text is aligned to the trailing edge of the layout box.

  • DWRITE_TEXT_ALIGNMENT_CENTER
    The center of the paragraph text is aligned to the center of the layout box.

Anforderungen

Mindestens unterstützter Client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista

Mindestens unterstützter Server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008

Header

Dwrite.h