Home Cooker Classes Others Rice CookerGX
Classes  >  element  >  OffsetHeight
element class : OffsetHeight getter

Description

Gets the height of the element.

Syntax

elementInstance.OffsetHeight

Arguments

None

Return value

ClassDescription
intThe height of the element, in pixels.

Sample code

//anyElement is an any instance of element type.

int height = anyElement.OffsetHeight;

Notes

It's a wrapper of the MSHTML.IHTMLElement.offsetHeight.

The OffsetHeight means the relative height from the element of the offsetParent property.

Specifically, a numerical value that obtained by adding the "padding", "border", and "Height", of the CSS, in pixels.

Links for reference

Copyright © Rice All rights reserved.