DWRITE_LINE_METRICS1 structure (dwrite_3.h)
Contains information about a formatted line of text.
Syntax
struct DWRITE_LINE_METRICS1 : DWRITE_LINE_METRICS {
FLOAT leadingBefore;
FLOAT leadingAfter;
};
Inheritance
The DWRITE_LINE_METRICS1 structure implements DWRITE_LINE_METRICS.
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
Requirement | Value |
---|---|
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 |