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,
DWRITE_TEXT_ALIGNMENT_JUSTIFIED
};
Constants
- 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.
- DWRITE_TEXT_ALIGNMENT_JUSTIFIED
-
Align text to the leading side, and also justify text to fill the lines.
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 |
|