Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_NEARThe top of the text flow is aligned to the top edge of the layout box. | 
| DWRITE_PARAGRAPH_ALIGNMENT_FARThe bottom of the text flow is aligned to the bottom edge of the layout box. | 
| DWRITE_PARAGRAPH_ALIGNMENT_CENTERThe 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 |