Click or drag to resize
CanvasTextLayout Constructor
Initializes a new instance of the CanvasTextLayout class.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasTextLayout(
	ICanvasResourceCreator resourceCreator,
	string textString,
	CanvasTextFormat textFormat,
	float requestedWidth,
	float requestedHeight
)

Parameters

resourceCreator
Type: Microsoft.Graphics.CanvasICanvasResourceCreator
textString
Type: SystemString
textFormat
Type: Microsoft.Graphics.Canvas.TextCanvasTextFormat
requestedWidth
Type: SystemSingle
requestedHeight
Type: SystemSingle
See Also