Edit

Bagikan melalui


Frameset Interface

Definition

Represents an entire frames page or a single frame on a frames page.

public interface class Frameset : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000209E2-0000-0000-C000-000000000046")]
public interface Frameset : System.Collections.IEnumerable
type Frameset = interface
    interface IEnumerable
Public Interface Frameset
Implements IEnumerable
Attributes
Implements

Remarks

There is no Framesets collection; each Document object or Pane object contains only one Frameset object.

Use the Frameset property of a Document or Pane object to return the Frameset object. For properties or methods that affect all frames on a frames page, use the Frameset object from the Document object. For properties or methods that affect individual frames on a frames page, use the Frameset object from the Pane object.

Properties

Application

Returns a Application object that represents the Microsoft Word application.

ChildFramesetCount

Returns the number of child Frameset objects associated with the specified Frameset object.

ChildFramesetItem[Int32]

Returns the Frameset object that represents the specified child Frameset object.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

FrameDefaultURL

Returns or sets the Web page or other document to be displayed in the specified frame when the frames page is opened.

FrameDisplayBorders

True if the frame borders on the specified frames page are displayed.

FrameLinkToFile

True if the Web page or other document specified by the FrameDefaultURL property is an external file to which Microsoft Word maintains only a link from the specified frame.

FrameName

Returns or sets the name of the specified frame on a frames page.

FrameResizable

True if the user can resize the specified frame when the frames page is viewed in a Web browser.

FrameScrollbarType

Returns or sets when scroll bars are available for the specified frame when viewing its frames page in a Web browser.

FramesetBorderColor

Returns or sets the color of the frame borders on the specified frames page. Can be any of the WdColor constants.

FramesetBorderWidth

Returns or sets the width (in points) of the borders surrounding the frames on the specified frames page.

Height

Returns or sets the height of the specified Frameset object.

HeightType

Returns or sets the width type for the specified frame on a frames page.

Parent

Returns an object that represents the parent object of the specified object.

ParentFrameset

Returns a Frameset object that represents the parent of the specified Frameset object on a frames page.

Type

Returns the Frameset object type.

Width

Returns or sets the width of the specified Frameset object.

WidthType

Returns or sets the width type of the specified Frameset object.

Methods

AddNewFrame(WdFramesetNewFrameLocation)

Adds a new frame to a frames page.

Delete()

Deletes the specified object.

GetEnumerator()

Applies to