DrawingContext.DrawText(FormattedText, Point) Methode

Definitie

Hiermee tekent u opgemaakte tekst op de opgegeven locatie.

public:
 void DrawText(System::Windows::Media::FormattedText ^ formattedText, System::Windows::Point origin);
public void DrawText(System.Windows.Media.FormattedText formattedText, System.Windows.Point origin);
member this.DrawText : System.Windows.Media.FormattedText * System.Windows.Point -> unit
Public Sub DrawText (formattedText As FormattedText, origin As Point)

Parameters

formattedText
FormattedText

De opgemaakte tekst die moet worden getekend.

origin
Point

De locatie waar de tekst moet worden getekend.

Uitzonderingen

Het object is al gesloten of verwijderd.

Van toepassing op