DWRITE_PARAGRAPH_ALIGNMENT enumeration

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

Syntax


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

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

Dwrite.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft