DWRITE_TRIMMING_GRANULARITY enumeration
Specifies the text granularity used to trim text overflowing the layout box.
Syntax
enum DWRITE_TRIMMING_GRANULARITY {
DWRITE_TRIMMING_GRANULARITY_NONE,
DWRITE_TRIMMING_GRANULARITY_CHARACTER,
DWRITE_TRIMMING_GRANULARITY_WORD
};
Constants
- DWRITE_TRIMMING_GRANULARITY_NONE
-
No trimming occurs. Text flows beyond the layout width.
- DWRITE_TRIMMING_GRANULARITY_CHARACTER
-
Trimming occurs at a character cluster boundary.
- DWRITE_TRIMMING_GRANULARITY_WORD
-
Trimming occurs at a word boundary.
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 |
|