ICanvasRenderingContext2DMeasureText Method
Returns a TextMetrics object.

Namespace: Aspose.Html.Dom.Canvas
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.3
Syntax
ITextMetrics MeasureText(
	string text
)

Parameters

text
Type: SystemString
The text to measure.

Return Value

Type: ITextMetrics
A TextMetrics object.
See Also