共用方式為


IHTMLRect interface

This interface provides the ability to programmatically access and manipulate the IHTMLRect::top, IHTMLRect::left, IHTMLRect::right, and IHTMLRect::bottom properties of rectangle elements.

Members

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

  • Properties

Properties

The IHTMLRect interface has these properties.

Property Description

bottom

Set or retrieves the bottom coordinate of the rectangle surrounding the object content.

left

Sets or retrieves the left coordinate of the rectangle surrounding the object content.

right

Sets or retrieves the right coordinate of the rectangle surrounding the object content.

top

Sets or retrieves the top coordinate of the rectangle surrounding the object content.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch