共用方式為


height property

Gets the height of the rectangle that surrounds the object content.

 

Syntax

HRESULT value = object.get_height(* p);

Property values

Type: float

The height of the rectangle, in pixels.

Standards information

Remarks

The height of the rectangle can also be calculated by subtracting the value of the IHTMLRect::top property from the value of the IHTMLRect::bottom property.

See also

IHTMLRect2::width