Click to return to the Reusing Browser Technology home page    
IHTMLTableRowMetrics::get...     IHTMLTableSection::delete...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLTableSection Interface


The IHTMLTableSection interface is used to designate rows as the body of the table.

IHTMLTableSection Methods

deleteRow Removes the row indicated by the value of the index parameter from this table section.
get_align Displays the element left-aligned, right-aligned, or centered relative to the display or table.
get_bgColor Retrieves the background color behind the element.
get_rows Returns a zero-based collection of the rows in this section of the table.
get_vAlign Retrieves how the text and other content of an element are vertically aligned within the element.
insertRow Inserts an empty row into this table section. The row is added at the position indicated by the index provided. For example, passing in 1 adds the row between 0 and 1, thus becoming the row with index 1. Passing in -1 or the size of the collection causes the row to be appended.
put_align Displays the element left-aligned, right-aligned, or centered relative to the display or table.
put_bgColor Sets the background color behind the element.
put_vAlign Sets how the text and other content of an element are vertically aligned within the element.

Interface Information

Implementation System (Mshtml.dll)
Inherits from IDispatch
Header and IDL files Mshtml.h, Mshtml.idl
Minimum availability Internet Explorer 4.0
Minimum operating systems Windows 95, Windows NT 4.0

Windows CE

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

Remarks

The IHTMLTableSection element is exposed for all tables, even if the table did not explicitly define a TBODY element.

The TBODY element is a block element.



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.