Jegyzet
Az oldalhoz való hozzáférés engedélyezést igényel. Próbálhatod be jelentkezni vagy könyvtárat váltani.
Az oldalhoz való hozzáférés engedélyezést igényel. Megpróbálhatod a könyvtár váltását.
Specifies the alignment of paragraph text along the reading direction axis, relative to the leading and trailing edge of the layout box.
Syntax
typedef enum DWRITE_TEXT_ALIGNMENT {
DWRITE_TEXT_ALIGNMENT_LEADING,
DWRITE_TEXT_ALIGNMENT_TRAILING,
DWRITE_TEXT_ALIGNMENT_CENTER,
DWRITE_TEXT_ALIGNMENT_JUSTIFIED
} ;
Constants
DWRITE_TEXT_ALIGNMENT_LEADINGThe leading edge of the paragraph text is aligned to the leading edge of the layout box. |
DWRITE_TEXT_ALIGNMENT_TRAILINGThe trailing edge of the paragraph text is aligned to the trailing edge of the layout box. |
DWRITE_TEXT_ALIGNMENT_CENTERThe center of the paragraph text is aligned to the center of the layout box. |
DWRITE_TEXT_ALIGNMENT_JUSTIFIEDAlign text to the leading side, and also justify text to fill the lines. |
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 |