共用方式為


IHTMLRect2 interface

This interface provides the ability to programmatically access and manipulate the properties of rectangle elements. This interface extends the IHTMLRect interface.

Members

The IHTMLRect2 interface inherits from the IDispatch interface. IHTMLRect2 also has these types of members:

  • Properties

Properties

The IHTMLRect2 interface has these properties.

Property Description

height

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

width

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

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch