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.
Gets the width, in CSS pixels, of a given box of text.
![]() ![]() |
Syntax
object.get_width(number* p);
Property values
Type: number
Width of the given text, in CSS pixels.
Standards information
- HTML Canvas 2D Context, Section 11
.png)
.png)