DWRITE_TRIMMING_GRANULARITY enumeration (dwrite.h)

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_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

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