Table of Contents

Class Table

Namespace
FileFormat.Slides
Assembly
FileFormat.Slides.dll

This class is responsible to create table in a PPT/PPTX presentataion.

public class Table
Inheritance
Table
Inherited Members

Constructors

Table()

Constructor for the Table class. Initializes a new instance of the Table class with empty lists for rows and columns.

public Table()

Properties

Columns

Property to get or set the list of columns in the table.

public List<TableColumn> Columns { get; set; }

Property Value

List<TableColumn>

Facade

Property to get or set the TableFacade instance.

public TableFacade Facade { get; set; }

Property Value

TableFacade

Height

Property to get or set the height of a table.

public double Height { get; set; }

Property Value

double

Name

Property to get or set the table name within the slide.

public string Name { get; set; }

Property Value

string

Rows

Property to get or set the list of rows in the table.

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

Property Value

List<TableRow>

TableIndex

Property to get or set the index of a table within slide.

public int TableIndex { get; set; }

Property Value

int

TableStylings

Property to get or set the stylings for the table.

public Stylings TableStylings { get; set; }

Property Value

Stylings

Theme

Property to define theme of a table. It can be check in PowerPoint table designs.

public string Theme { get; set; }

Property Value

string

Width

Property to get or set the width of a table.

public double Width { get; set; }

Property Value

double

X

Property to get or set the X coordinate of a table.

public double X { get; set; }

Property Value

double

Y

Property to get or set the Y coordinate of a table.

public double Y { get; set; }

Property Value

double

Methods

AddColumn(TableColumn)

Adds a row to the table.

public void AddColumn(TableColumn column)

Parameters

column TableColumn

AddRow(TableRow)

Adds a row to the table.

public void AddRow(TableRow row)

Parameters

row TableRow

The TableRow object to be added to the table.

GetDataTable()

Method to get datatable from fileformat table to send to facade.

public DataTable GetDataTable()

Returns

DataTable

GetTables(List<TableFacade>)

This method is responsible to get the list of Tables

public static List<Table> GetTables(List<TableFacade> tableFacades)

Parameters

tableFacades List<TableFacade>

Returns

List<Table>

Update()

Method to update an existing table.

public void Update()