Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Specifies the text granularity used to trim text overflowing the layout box.
Syntax
typedef enum DWRITE_TRIMMING_GRANULARITY {
DWRITE_TRIMMING_GRANULARITY_NONE,
DWRITE_TRIMMING_GRANULARITY_CHARACTER,
DWRITE_TRIMMING_GRANULARITY_WORD
} ;
Constants
DWRITE_TRIMMING_GRANULARITY_NONENo trimming occurs. Text flows beyond the layout width. |
DWRITE_TRIMMING_GRANULARITY_CHARACTERTrimming occurs at a character cluster boundary. |
DWRITE_TRIMMING_GRANULARITY_WORDTrimming occurs at a word boundary. |
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 |