CanvasLineMetrics Structure |
Namespace: Microsoft.Graphics.Canvas.Text
public struct CanvasLineMetrics
The CanvasLineMetrics type exposes the following members.
Name | Description | |
---|---|---|
Baseline | The distance, in DIPs, from the top of the text line to its baseline. | |
CharacterCount | The number of characters in the text line. | |
Height | The height of the text line, in DIPs. | |
IsTrimmed | Indicates whether the line was trimmed. | |
LeadingWhitespaceAfter | Size of the white space, in DIPs, after the content of the line. | |
LeadingWhitespaceBefore | Size of the white space, in DIPs, before the content of the line. | |
TerminalNewlineCount | The number of characters in the newline sequence at the end of the text line. | |
TrailingWhitespaceCount | The number of whitespace characters at the end of the text line. |