IHTMLTable::frame Property

Sets or retrieves the way the border frame around the table is displayed.

Syntax


HRESULT IHTMLTable::get_frame(BSTR *p);HRESULT IHTMLTable::put_frame(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

void Default. All outside table borders are removed.
above Border on the top side of the border frame is displayed.
below Border on the bottom side of the table frame is displayed.
border Borders on all sides of the table frame are displayed.
box Borders on all sides of the table frame are displayed.
hsides Borders on the top and bottom sides of the table frame are displayed.
lhs Border on the left side of the table frame is displayed.
rhs Border on the right side of the table frame is displayed.
vsides Borders on the left and right sides of the table frame are displayed.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IHTMLTable::rules

Community Additions

Show: