IHTMLFrameBase::frameBorder Property

Sets or retrieves whether to display a border for the frame.

Syntax

HRESULT IHTMLFrameBase::get_frameBorder(BSTR *p);
HRESULT IHTMLFrameBase::put_frameBorder(BSTR v);

Parameters

  • p
    Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
  • v
    BSTR that specifies one of the values listed in Possible Values.

Possible Values

1 Default. Inset border is drawn.
0 No border is drawn.
no No border is drawn.
yes Inset border is drawn.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Invalid settings default to displaying borders.