Click or drag to resize
ICanvasTextRendererDrawUnderline Method
Signals to the app that it should draw an underline.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
void DrawUnderline(
	Vector2 point,
	float underlineWidth,
	float underlineThickness,
	float underlineOffset,
	float runHeight,
	CanvasTextDirection textDirection,
	Object brush,
	CanvasTextMeasuringMode textMeasuringMode,
	string localeName,
	CanvasGlyphOrientation glyphOrientation
)

Parameters

point
Type: System.NumericsVector2
underlineWidth
Type: SystemSingle
underlineThickness
Type: SystemSingle
underlineOffset
Type: SystemSingle
runHeight
Type: SystemSingle
textDirection
Type: Microsoft.Graphics.Canvas.TextCanvasTextDirection
brush
Type: SystemObject
textMeasuringMode
Type: Microsoft.Graphics.Canvas.TextCanvasTextMeasuringMode
localeName
Type: SystemString
glyphOrientation
Type: Microsoft.Graphics.Canvas.TextCanvasGlyphOrientation
See Also