IDWriteTextFormat1 interface
Describes the font and paragraph properties used to format text, and it describes locale information. This interface has all the same methods as IDWriteTextFormat and adds the ability for you to apply an explicit orientation.
Members
The IDWriteTextFormat1 interface inherits from IDWriteTextFormat. IDWriteTextFormat1 also has these types of members:
Methods
The IDWriteTextFormat1 interface has these methods.
| Method | Description |
|---|---|
| GetFontFallback |
Gets the current fallback. If none was ever set since creating the layout, it will be nullptr. |
| GetLastLineWrapping |
Gets the wrapping mode of the last line. |
| GetOpticalAlignment |
Gets the optical margin alignment for the text format. |
| GetVerticalGlyphOrientation |
Get the preferred orientation of glyphs when using a vertical reading direction. |
| SetFontFallback |
Applies the custom font fallback onto the layout. If none is set, it uses the default system fallback list. |
| SetLastLineWrapping |
Sets the wrapping mode of the last line. |
| SetOpticalAlignment |
Sets the optical margin alignment for the text format. |
| SetVerticalGlyphOrientation |
Sets the orientation of a text format. |
Requirements
|
Minimum supported client |
Windows 8.1 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Library |
|
|
DLL |
|
See also