Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

height property

Sets or retrieves the height of the object.

Syntax

HRESULT value = object.put_height( v);HRESULT value = object.get_height(* p);

Property values

Type: VARIANT

height

Integer that specifies the height of the object, in pixels.

percentage

Integer, followed by a percent sign (%). The value is a percentage of the height of the parent object.

Remarks

If you set the value of the corresponding HTML attribute using a percentage, this property specifies the height, in pixels, represented by that percentage.

For more information about how to access the dimension and location of objects on the page through the Dynamic HTML (DHTML) Document Object Model (DOM), see Measuring Element Dimension and Location with CSSOM in Internet Explorer 9.

In Microsoft Internet Explorer 5 it is possible to set the IHTMLFrameElement2::height property, but doing so has no effect on the rendering of the frame.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.