DWRITE_LINE_METRICS1 structure

Contains information about a formatted line of text.

Syntax

struct DWRITE_LINE_METRICS1 {
  FLOAT leadingBefore;
  FLOAT leadingAfter;
};

Members

leadingBefore

Type: FLOAT

White space before the content of the line. This is included in the line height and baseline distances. If the line is formatted horizontally either with a uniform line spacing or with proportional line spacing, this value represents the extra space above the content.

leadingAfter

Type: FLOAT

White space after the content of the line. This is included in the height of the line. If the line is formatted horizontally either with a uniform line spacing or with proportional line spacing, this value represents the extra space below the content.

Requirements

   
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Header dwrite_3.h