Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Properties
The ICanvasTextMetrics interface has these properties.
| Property | Description |
|---|---|
Gets the width, in CSS pixels, of a given box of text. |
Requirements
Minimum supported client |
Windows Vista with SP1, Windows 7 |
Minimum supported server |
Windows Server 2008 R2 |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |