Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ICanvasTextMetrics interface

Defines an object that the ICanvasRenderingContext2D::measureText method returns.

Members

The ICanvasTextMetrics interface inherits from the IDispatch interface. ICanvasTextMetrics also has these types of members:

Properties

The ICanvasTextMetrics interface has these properties.

PropertyDescription

width

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

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

 

 

Community Additions

Show:
© 2015 Microsoft