frameSpacing Property

Returns or sets a Variant that represents the amount of space between the frames in a FRAMESET element. Corresponds to the framespacing attribute.

expression.frameSpacing

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Example

The following example sets the space between the frames in the active document to five pixels.

Dim objFrameSets As IHTMLElementCollection
Dim objFrameSet As FPHTMLFrameSetSite

Set objFrameSets = ActiveDocument.all.tags("frameset")
Set objFrameSet = objFrameSets.Item(0)

objFrameSet.frameSpacing = "5"

Applies to | FPHTMLFrameBase Object | FPHTMLFrameElement Object | FPHTMLFrameSetSite Object | FPHTMLIFrame Object | IHTMLFrameBase Object | IHTMLFrameSetElement Object