This topic has not yet been rated - Rate this topic

measureText method

Returns a CanvasTextMetrics object that contains the width of the specified text.

HTML Canvas 2D Context, Section 11Internet Explorer 9

Syntax


ICanvasTextMetrics retVal = object.measureText(text);

Parameters

text [in]

Type: string

The text to measure.

Standards information

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.