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
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
Name
Property to get or set the table name within the slide.
public string Name { get; set; }
Property Value
Rows
Property to get or set the list of rows in the table.
public List<TableRow> Rows { get; set; }
Property Value
TableIndex
Property to get or set the index of a table within slide.
public int TableIndex { get; set; }
Property Value
TableStylings
Property to get or set the stylings for the table.
public Stylings TableStylings { get; set; }
Property Value
Theme
Property to define theme of a table. It can be check in PowerPoint table designs.
public string Theme { get; set; }
Property Value
Width
Property to get or set the width of a table.
public double Width { get; set; }
Property Value
X
Property to get or set the X coordinate of a table.
public double X { get; set; }
Property Value
Y
Property to get or set the Y coordinate of a table.
public double Y { get; set; }
Property Value
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
TableRowThe TableRow object to be added to the table.
GetDataTable()
Method to get datatable from fileformat table to send to facade.
public DataTable GetDataTable()
Returns
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
Update()
Method to update an existing table.
public void Update()