Add Table

A table is a grid of cells arranged in rows and columns. It's a fundamental feature that allows you to organize and present information in a structured manner. Each intersection of a row and a column in a table is referred to as a cell. Tables are commonly used for various purposes, such as creating schedules, organizing data, and aligning content neatly.

To add a table using IronWord, first instantiate a table by providing the number of rows and columns. Customize the entire table styling to your requirements. Access each cell of the table with the [row, column] format. With this, you can style each cell accordingly and add multiple document elements such as textrun, paragraph, image, and shape to the cell. Once the table object has been set up properly, it can be used to create a new Word document.