DWRITE_PARAGRAPH_ALIGNMENT enumeration (dwrite.h)

Specifies the alignment of paragraph text along the flow direction axis, relative to the top and bottom of the flow's layout box.

Syntax

typedef enum DWRITE_PARAGRAPH_ALIGNMENT {
  DWRITE_PARAGRAPH_ALIGNMENT_NEAR,
  DWRITE_PARAGRAPH_ALIGNMENT_FAR,
  DWRITE_PARAGRAPH_ALIGNMENT_CENTER
} ;

Constants

 
DWRITE_PARAGRAPH_ALIGNMENT_NEAR
The top of the text flow is aligned to the top edge of the layout box.
DWRITE_PARAGRAPH_ALIGNMENT_FAR
The bottom of the text flow is aligned to the bottom edge of the layout box.
DWRITE_PARAGRAPH_ALIGNMENT_CENTER
The center of the flow is aligned to the center of the layout box.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Header dwrite.h