ODF .NET Class Library
Show/Hide TOC

# Table Class

Represents the root element for the table.

## Definition

Namespace: Independentsoft.Office.Odf
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class Table : ITextContent, IIndexContent,
    	IContentElement, ICellContent, IHeaderFooterContent

VB

    Public Class Table
    	Implements ITextContent, IIndexContent, IContentElement, ICellContent,
    	IHeaderFooterContent

Inheritance
  Object Table

Implements
  ICellContent, IContentElement, IIndexContent, ITextContent, IHeaderFooterContent

## Constructors

Table | Initializes a new instance of the Table class.
Table(String) | Initializes a new instance of the Table class.

## Properties

Columns | Contains collection of columns in the table.
Forms | Contains a container for form elements.
HeaderColumns | Contains collection of header columns in the table.
HeaderRows | Contains collection of header rows in the table.
IsPrintable | Specifies if the table will be printed.
IsProtected | Specifies whether the table is protected from editing.
IsSubtable | Specifies if a nested table is a subtable.
ItemCellPosition | Contains the table cell.
ItemString | Contains the table cell.
ItemInt32, Int32 | Contains the table cell.
ItemString, Int32 | Contains the table cell.
Name | Contains the name of the table.
PrintRanges | Contains the print ranges of the table.
Rows | Contains collection of rows in the table.
Scenario | Contains the scenario for display on the table.
Shapes | Contains all the elements that represent graphic shapes that are anchored on the table where this element occurs.
Style | Contains the style.
TableColumns | Contains collection of table columns in the table.
TableRows | Contains collection of table rows in the table.

## Methods

Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetContentElements | Returns all content elements.
GetHashCode | (Inherited from Object)
GetParent | Returns the parent element.
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current Table object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf Namespace