Click or drag to resize
CanvasDrawingSessionDrawText Method (String, Vector2, Color, CanvasTextFormat)
Draws text at the specified position.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public void DrawText(
	string text,
	Vector2 point,
	Color color,
	CanvasTextFormat format
)

Parameters

text
Type: SystemString
point
Type: System.NumericsVector2
color
Type: Windows.UIColor
format
Type: Microsoft.Graphics.Canvas.TextCanvasTextFormat
Remarks
The text format object is allowed to be null.
See Also