Width Property

Sets or gets the width of the object.


object.Width(lWidth) [ = lWidth ]

Possible Values

lWidth Long that specifies or receives the width, in pixels.

The property is read/write. The property has no default value.


The WebBrowser object returns the dimensions of the control window; InternetExplorer 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.

Applies To

InternetExplorer, WebBrowser

See Also

Community Additions

© 2014 Microsoft