DrawingContext::DrawText Method (FormattedText^, Point)
.NET Framework (current version)
Draws formatted text at the specified location.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- formattedText
-
Type:
System.Windows.Media::FormattedText^
The formatted text to be drawn.
- origin
-
Type:
System.Windows::Point
The location where the text is to be drawn.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The object has already been closed or disposed. |
.NET Framework
Available since 3.0
Available since 3.0
Show: