width property
[This documentation is preliminary and is subject to change.]
Gets the width, in CSS pixels, of a given box of text.
![]() ![]() |
Syntax
HRESULT value = object.get_width(float* p);
Property values
Type: float
Width of the given text, in CSS pixels.
Standards information
- HTML Canvas 2D Context, Section 11
See also
Build date: 1/23/2012
.png)
.png)