Width property

Sets or gets the width of the object.

Syntax

Property values

Type: Long

The width, in pixels.

Remarks

The WebBrowser object returns the dimensions of the control window; InternetExplorer object returns the dimensions of the browser frame.

The values for this property change as the object is resized by the user or by code. The size of the object changes by setting this property.

See also

InternetExplorer

IWebBrowser2::Height

IWebBrowser2::ClientToWindow