IDWriteTextFormat1 interface (dwrite_2.h)

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.

Inheritance

The IDWriteTextFormat1 interface inherits from IDWriteTextFormat. IDWriteTextFormat1 also has these types of members:

Methods

The IDWriteTextFormat1 interface has these methods.

 
IDWriteTextFormat1::GetFontFallback

Gets the current fallback. If none was ever set since creating the layout, it will be nullptr.
IDWriteTextFormat1::GetLastLineWrapping

Gets the wrapping mode of the last line.
IDWriteTextFormat1::GetOpticalAlignment

Gets the optical margin alignment for the text format.
IDWriteTextFormat1::GetVerticalGlyphOrientation

Get the preferred orientation of glyphs when using a vertical reading direction. (IDWriteTextFormat1.GetVerticalGlyphOrientation)
IDWriteTextFormat1::SetFontFallback

Applies the custom font fallback onto the layout. If none is set, it uses the default system fallback list.
IDWriteTextFormat1::SetLastLineWrapping

Sets the wrapping mode of the last line.
IDWriteTextFormat1::SetOpticalAlignment

Sets the optical margin alignment for the text format.
IDWriteTextFormat1::SetVerticalGlyphOrientation

Sets the orientation of a text format.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Target Platform Windows
Header dwrite_2.h

See also

IDWriteTextFormat