FormattedText Class
namespace Noesis | MSDN
Provides low-level control for drawing text.
Methods
Name | Description |
---|---|
BuildTextRuns | Generates and keeps a collection of runs from the supplied InlineCollection and for the specified font properties |
GetBounds | Gets text bounds |
GetGlyphPosition | Gets x/y coordinates at where the specified glyph is positioned. If the glyph is outside layout limits then -10 is returned for both x/y coordinates |
GetLineInfo | Gets information about the specified line |
GetNumLines | Gets the number of lines based on the last layout |
HitTest | Obtains the glyph index under the specified x/y coordinates, indicating if the point is inside the glyph bounds |
IsEmpty | Indicates if this FormattedText has no text |
Layout | Layouts and prepares text for rendering for the given constraints |
Measure | Obtains the size of the stored runs for the given constraints |
Properties
FormattedText has no properties
Events
FormattedText has no events
Table of Contents