Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDWriteTextLayout2 interface

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

Members

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

Methods

The IDWriteTextLayout2 interface has these methods.

MethodDescription
GetFontFallback

Get the current font fallback object.

GetLastLineWrapping

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

GetMetrics

Retrieves overall metrics for the formatted string.

GetOpticalAlignment

Get how the glyphs align to the edges the margin.

GetVerticalGlyphOrientation

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

SetFontFallback

Apply a custom font fallback onto layout.

SetLastLineWrapping

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

SetOpticalAlignment

Set how the glyphs align to the edges the margin.

SetVerticalGlyphOrientation

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

 

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

Dwrite.lib

DLL

Dwrite.dll

 

 

Community Additions

Show:
© 2015 Microsoft