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 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Header | dwrite_3.h |