measureText method
Returns a CanvasTextMetrics object that contains the width of the specified text.
![]() ![]() |
Syntax
ICanvasTextMetrics retVal = object.measureText(text);
Parameters
- text [in]
-
Type: string
The text to measure.
Standards information
- HTML Canvas 2D Context, Section 11
Build date: 11/12/2012

