IDWriteTextFormat.SetLineSpacing

<summary> Set line spacing. </summary> <param name="lineSpacingMethod">How to determine line height.</param> <param name="lineSpacing">The line height, or rather distance between one baseline to another.</param> <param name="baseline">Distance from top of line to baseline. A reasonable ratio to lineSpacing is 80%.</param> <remarks> For the default method, spacing depends solely on the content. For uniform spacing, the given line height will override the content. </remarks> <returns> Standard HRESULT error code. </returns>

interface IDWriteTextFormat
extern (Windows)
HRESULT
SetLineSpacing

Meta