Export (0) Print
Expand All

IWebBrowser2::Height Property

Sets or gets the height of the object.

Syntax


HRESULT IWebBrowser2::get_Height(long *pl);HRESULT IWebBrowser2::put_Height(long Height);

Parameters

pl
Pointer to a variable of type long that receives the height, in pixels.
Height
long that specifies the height, in pixels.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

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. Setting this property changes the size of the object.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft