Windows apps
Collapse the table of content
Expand the table of content
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.

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.

MethodDescription
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 | UWP apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | UWP apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Library

Dwrite.lib

DLL

Dwrite.dll

See also

IDWriteTextFormat

 

 

Show:
© 2018 Microsoft