Contents Index Topic Contents | ||
Previous Topic: IHTMLImgElement::put_height Next Topic: IHTMLImgElement::put_start |
IHTMLImgElement::get_height
HRESULT get_height( long *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
IHTMLImgElement::put_height
HRESULT put_height( long 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.