FormattedText Properties
.NET Framework 4
The FormattedText type exposes the following members.
| Name | Description | |
|---|---|---|
|
Baseline | Gets the distance from the top of the first line to the baseline of the first line of a FormattedText object. |
|
Extent | Gets the distance from the topmost drawn pixel of the first line to the bottommost drawn pixel of the last line. |
|
FlowDirection | Gets or sets the FlowDirection of a FormattedText object. |
|
Height | Gets the distance from the top of the first line to the bottom of the last line of the FormattedText object. |
|
LineHeight | Gets the line height, or line spacing, between lines of text. |
|
MaxLineCount | Gets or sets the maximum number of lines to display. Text exceeding the MaxLineCount will not be displayed. |
|
MaxTextHeight | Gets or sets the maximum height of a text column. |
|
MaxTextWidth | Gets or sets the maximum text width (length) for a line of text. |
|
MinWidth | Gets the smallest possible text width that can fully contain the specified text content. |
|
OverhangAfter | Gets the distance from the bottom of the last line of text to the bottommost drawn pixel. |
|
OverhangLeading | Gets the maximum distance from the leading alignment point to the leading drawn pixel of a line. |
|
OverhangTrailing | Gets the maximum distance from the trailing inked pixel to the trailing alignment point of a line. |
|
Text | Gets the string of text to be displayed. |
|
TextAlignment | Gets or sets the alignment of text within a FormattedText object. |
|
Trimming | Gets or sets the means by which the omission of text is indicated. |
|
Width | Gets the width between the leading and trailing alignment points of a line, excluding any trailing white-space characters. |
|
WidthIncludingTrailingWhitespace | Gets the width between the leading and trailing alignment points of a line, including any trailing white-space characters. |