Class Frameset (Word VBA)

The class Frameset represents an entire frames page or a single frame on a frames page.

The classes Document and Pane. give access to class Frameset


Dim frm as Frameset
Set frm = ActiveDocument.Frameset

Methods

AddNewFrame - Adds a new frame to a frames page.

Delete - Deletes the specified Frameset object.

Properties

Type (Default member) - Returns the Frameset object type.

ChildFramesetCount returns the number of child Frameset objects associated with the specified Frameset object.

ChildFramesetItem returns the Frameset object that represents the child Frameset object specified by the Index argument.

FrameDefaultURL returns or sets the webpage 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 webpage 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.

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

Height returns or sets a Float that represents the height (in points) of the specified Frameset object.

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

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

Width returns or sets the width (in points) of the specified Frameset object.

WidthType returns or sets the width type for the specified Frameset object.