Click to return to the Reusing Browser Technology home page    
IHTMLTable::get_rows Meth...     IHTMLTable::get_tBodies M...     IHTMLTable Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLTable::get_rules Method


Retrieves which dividing lines are displayed. These are the inner borders of the table cells.

Syntax

HRESULT get_rules(
    BSTR *p 
);

Parameters

p
Address of a string variable that receives one of these values:

all Displays a border on all rows and columns.
cols Displays borders between all table columns.
groups Displays horizontal borders between all table groups. Groups are specified by the THEAD, TBODY, TFOOT, and COLGROUP elements.
none Removes all interior table borders.
rows Displays horizontal borders between all table rows.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

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

IHTMLTable::put_rules Method


Specifies which dividing lines are displayed. These are the inner borders of the table cells.

Syntax

HRESULT put_rules(
    BSTR v 
);

Parameters

v
String value that specifies the dividing rules. Can be one of these values:

all Displays a border on all rows and columns.
cols Displays borders between all table columns.
groups Displays horizontal borders between all table groups. Groups are specified by the THEAD, TBODY, TFOOT, and COLGROUP elements.
none Removes all interior table borders.
rows Displays horizontal borders between all table rows.

Return Value

Returns S_OK if successful, or an error code otherwise.

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.