IDWriteTextLayout2 interface (dwrite_2.h)

Represents a block of text after it has been fully analyzed and formatted.

Inheritance

The IDWriteTextLayout2 interface inherits from IDWriteTextLayout1. IDWriteTextLayout2 also has these types of members:

Methods

The IDWriteTextLayout2 interface has these methods.

 
IDWriteTextLayout2::GetFontFallback

Get the current font fallback object.
IDWriteTextLayout2::GetLastLineWrapping

Get whether or not the last word on the last line is wrapped.
IDWriteTextLayout2::GetMetrics

Retrieves overall metrics for the formatted string. (IDWriteTextLayout2.GetMetrics)
IDWriteTextLayout2::GetOpticalAlignment

Get how the glyphs align to the edges the margin.
IDWriteTextLayout2::GetVerticalGlyphOrientation

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

Apply a custom font fallback onto layout.
IDWriteTextLayout2::SetLastLineWrapping

Set whether or not the last word on the last line is wrapped.
IDWriteTextLayout2::SetOpticalAlignment

Set how the glyphs align to the edges the margin.
IDWriteTextLayout2::SetVerticalGlyphOrientation

Set the preferred orientation of glyphs when using a vertical reading direction.

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

IDWriteTextLayout1