This topic has not yet been rated - Rate this topic

CanvasTextMetrics object

Provides an object that contains the width attribute that the measureText method sets.

HTML Canvas 2D Context, Section 1Internet Explorer 9

Members

The CanvasTextMetrics object has these types of members:

Properties

The CanvasTextMetrics object has these properties.

PropertyDescription

width

Gets the width, in CSS pixels, of a given box of text.

 

Standards information

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.