Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

IHTMLTableRow2::height Property

Gets or sets the height of the object.

Syntax


HRESULT IHTMLTableRow2::get_height(VARIANT *p);HRESULT IHTMLTableRow2::put_height(VARIANT v);

Parameters

p
Pointer to a variable of type VARIANT of type VT_I4 or VT_BSTR that receives one of the values listed in Possible Values.
v
VARIANT of type VT_I4 or VT_BSTR that specifies one of the values listed in Possible Values.

Possible Values

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.

Return Value

Returns S_OK if successful, or an error value otherwise.

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.

Community Additions

Show:
© 2015 Microsoft