共用方式為


IHTMLFrameBase interface

This interface provides access to properties and methods that are common to frame and iframe elements.

Members

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

  • Properties

Properties

The IHTMLFrameBase interface has these properties.

Property Description

border (frame, iframe)

Sets or retrieves the space between the frames, including the 3-D border.

frameBorder

Sets or retrieves whether to display a border for the frame.

frameSpacing

Sets or retrieves the amount of additional space between the frames.

marginHeight

Sets or retrieves the top and bottom margin heights before displaying the text in a frame.

marginWidth

Sets or retrieves the left and right margin widths before displaying the text in a frame.

name

Sets or retrieves the frame name.

noResize

Sets or retrieves whether the user can resize the frame.

scrolling

Sets or retrieves whether the frame can be scrolled.

src

Sets or retrieves a URL to be loaded by the object.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

Reference

IHTMLFrameBase2

IHTMLFrameBase3