Contents Index Topic Contents | ||
Previous Topic: IHTMLObjectElement::put_height Next Topic: IHTMLObjectElement::get_readyState |
IHTMLObjectElement::get_height
HRESULT get_height( VARIANT *p );Retrieves the calculated height of the element, in pixels.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the height.
If the value of the corresponding HTML attribute was set using a percentage, this property specifies the height in pixels represented by that percentage.
See also put_height
IHTMLObjectElement::put_height
HRESULT put_height( VARIANT v );Sets the calculated height of the element, in pixels.
- Returns S_OK if successful, or an error value otherwise.
- v
- Value specifying the height.
If the value of the corresponding HTML attribute was set using a percentage, this property specifies the height in pixels represented by that percentage.
See also get_height
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.