IDWriteTextFormat2 interface (dwrite_3.h)

Describes the font and paragraph properties used to format text, and it describes locale information.

Inheritance

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

Methods

The IDWriteTextFormat2 interface has these methods.

 
IDWriteTextFormat2::GetLineSpacing

Gets the line spacing adjustment set for a multiline text paragraph. (IDWriteTextFormat2.GetLineSpacing)
IDWriteTextFormat2::SetLineSpacing

Set line spacing. (IDWriteTextFormat2.SetLineSpacing)

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_3.h

See also

IDWriteTextFormat1