Click to return to the Reusing Browser Technology home page    
IHTMLFrameBase::get_frame...     IHTMLFrameBase::put_margi...     IHTMLFrameBase Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLFrameBase::get_frameSpacing Method


Retrieves the value of the frameSpacing property of the frame.

Syntax

HRESULT get_frameSpacing(
    VARIANT *p
);

Parameters

p
Address of a VARIANT structure that receives the amount of additional space. The default spacing is 2 pixels.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The amount defined for the frameSpacing property does not include the width of the frameBorder. The frameSpacing property can be set on one or more FRAMESETs, and applies to the contained FRAMESET unless the contained FRAMESET defines a different frameSpacing.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

IHTMLFrameBase::put_frameSpacing Method


Sets the value of the frameSpacing property of the frame.

Syntax

HRESULT put_frameSpacing(
    VARIANT v
);

Parameters

v
VARIANT structure that specifies the amount of additional space to set. The default spacing is 2 pixels.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The amount defined for the frameSpacing property does not include the width of the frameBorder. The frameSpacing property can be set on one or more FRAMESETs, and applies to the contained FRAMESET unless the contained FRAMESET defines a different frameSpacing.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.