width property
Gets the width of the rectangle that surrounds the object content.
![]() |
Syntax
HRESULT value = object.get_width(* p);
Property values
Type: float
The width of the rectangle, in pixels.
Standards information
Remarks
The width of the rectangle can also be calculated by subtracting the value of the IHTMLRect::left property from the value of the IHTMLRect::right property.