IHTMLFrameSetElement::frameSpacing Property

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

Syntax

HRESULT IHTMLFrameSetElement::get_frameSpacing(VARIANT *p);
HRESULT IHTMLFrameSetElement::put_frameSpacing(VARIANT v);

Parameters

  • p
    Pointer to a variable of type VARIANT that receives the spacing, in pixels.
  • v
    VARIANT that specifies the spacing, in pixels.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The amount of space defined for IHTMLFrameSetElement::frameSpacing does not include the width of the frame border. Frame spacing can be set on one or more frameSet objects and applies to all contained frameSet objects, unless the contained object defines a different frame spacing.

The default spacing is 2 pixels.