Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
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 |