Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_pageBreakBefore Next Topic: IHTMLStyle::get_pixelLeft |
IHTMLStyle::get_pixelHeight
HRESULT get_pixelHeight( long *p );Retrieves the 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.
Unlike the height attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.
See also put_pixelHeight
IHTMLStyle::put_pixelHeight
HRESULT put_pixelHeight( long v );Sets the height of the element, in pixels.
- Returns S_OK if successful, or an error value otherwise.
- v
- Long integer value specifying the height. Setting this property changes the height without changing the units designator.
Unlike the height attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.
See also get_pixelHeight
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.