IHTMLTable::rules Property
Sets or retrieves which dividing lines (inner borders) are displayed.
Syntax
HRESULT IHTMLTable::get_rules(BSTR *p); HRESULT IHTMLTable::put_rules(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
all Borders are displayed on all rows and columns. cols Borders are displayed between all table columns. groups Horizontal borders are displayed between all tHead, tBody, and tFoot objects; vertical borders are displayed between all colGroup objects. none All interior table borders are removed. rows Horizontal borders are displayed between all table rows.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The value
noneturns off only the interior borders. To turn off the table borders, set the IHTMLTable::rules property to'', or omit the RULES attribute from the table object.
See Also