Table of Contents

Class Table

Namespace
FileFormat.Words.IElements
Assembly
FileFormat.Words.dll

Represents a table element in a Word document.

public class Table : IElement
Inheritance
Table
Implements
Inherited Members

Constructors

Table()

Initializes a new instance of the Table class with empty rows and default column properties.

public Table()

Table(int, int)

Initializes a new instance of the Table class with a specified number of rows and columns.

public Table(int rows, int columns)

Parameters

rows int

The number of rows in the table.

columns int

The number of columns in the table.

Properties

Column

Gets or sets the column properties of the table.

public Column Column { get; set; }

Property Value

Column

ElementId

Gets the unique identifier of the table.

public int ElementId { get; }

Property Value

int

Rows

Gets or sets the list of rows within the table.

public List<Row> Rows { get; set; }

Property Value

List<Row>

Style

Gets or sets the table style.

public string Style { get; set; }

Property Value

string