Provides an abstract class for supporting formatting services to a line of text.
Assembly: PresentationCore (in PresentationCore.dll)
Gets the distance from the top to the baseline of the currentobject.
Gets the number of characters following the last character of the line that may trigger reformatting of the current line.
Gets the distance from the top-most to bottom-most black pixel in a line.
Gets a value that indicates whether the line is collapsed.
Gets a value that indicates whether content of the line overflows the specified paragraph width.
Gets the height of a line of text.
Determines whether the text line is truncated in the middle of a word.
Gets the total number of TextSource positions of the current line.
Gets the distance from the edge of the line's highest point to the baseline marker of the line.
Gets the height of a marker for a list item.
Gets the number of newline characters at the end of a line.
Gets the distance that black pixels extend beyond the bottom alignment edge of a line.
Gets the distance that black pixels extend prior to the left leading alignment edge of the line.
Gets the distance that black pixels extend following the right trailing alignment edge of the line.
Get or sets the PixelsPerDip at which the text should be rendered.
Gets the distance from the start of a paragraph to the starting point of a line.
Gets the distance from the top to the baseline of the line of text.
Gets the height of the text and any other content in the line.
Gets the number of whitespace code points beyond the last non-blank character in a line.
Gets the width of a line of text, excluding trailing whitespace characters.
Gets the width of a line of text, including trailing whitespace characters.
Create a collapsed line based on collapsed text properties.
Releases all managed and unmanaged resources used by the TextFormatter object.
|Draw(DrawingContext, Point, InvertAxes)|
Renders the DrawingContext.object based upon the specified
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Gets the previous character hit after backspacing.
Gets the character hit corresponding to the specified distance from the beginning of the line.
Gets the distance from the beginning of the line to the specified character hit.
Serves as the default hash function. (Inherited from Object.)
Gets an enumerator for enumerating IndexedGlyphRun objects in the .
Gets the next character hit for caret navigation.
Gets the previous character hit for caret navigation.
Gets an array of bounding rectangles that represent the range of characters within a text line.
Gets a collection of collapsed text ranges after a line has been collapsed.
Gets the state of the line when broken by line breaking process.
Gets a collection of TextRun objects in a text span that are contained within a line.
Returns a string that represents the current object.(Inherited from Object.)
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.