IDWriteTextFormat2 interface

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

Members

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

Methods

The IDWriteTextFormat2 interface has these methods.

MethodDescription
GetLineSpacing

Gets the line spacing adjustment set for a multiline text paragraph.

SetLineSpacing

Set line spacing.

 

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

See also

IDWriteTextFormat1

 

 

Show: