MeasureText

ICanvasRenderingContext2D.MeasureText method

Returns a TextMetrics object.

public ITextMetrics MeasureText(string text)
Parameter Type Description
text String The text to measure.

Return Value

A TextMetrics object.

See Also