Class Table
- Namespace
- MigraDoc.DocumentObjectModel.Tables
- Assembly
- MigraDoc.DocumentObjectModel.dll
Represents a table in a document.
public class Table : DocumentObject
- Inheritance
-
objectTable
- Inherited Members
- Extension Methods
Constructors
- Table()
Initializes a new instance of the Table class.
Properties
- Borders
Gets the default Borders object for all cells of the column.
- BottomPadding
Gets or sets the default bottom padding for all cells of the table.
- Columns
Gets or sets the Columns collection of the table.
- Comment
Gets or sets a comment associated with this object.
- Format
Gets the default ParagraphFormat for all rows and columns of the table.
- IsEmpty
Returns true if no cell exists in the table.
- this[int, int]
Gets the cell with the given row and column indices.
- KeepTogether
Gets or sets a value indicating whether to keep all the table rows on the same page.
- LeftPadding
Gets or sets the default left padding for all cells of the table.
- RightPadding
Gets or sets the default right padding for all cells of the table.
- Rows
Gets the Rows collection of the table.
- Shading
Gets the default Shading object for all cells of the column.
- Style
Sets or gets the default style name for all rows and columns of the table.
- TopPadding
Gets or sets the default top padding for all cells of the table.
- Values
Gets the underlying internal nullable values for the properties of this document object.
Methods
- AddColumn()
Adds a new column to the table. Allowed only before any row was added.
- AddColumn(Unit)
Adds a new column of the specified width to the table. Allowed only before any row was added.
- AddRow()
Adds a new row to the table. Allowed only if at least one column was added.
- Clone()
Creates a deep copy of this object.
- DeepCopy()
Implements the deep copy of the object.
- SetEdge(int, int, int, int, Edge, BorderStyle, Unit)
Sets the borders surrounding the specified range of the table.
- SetEdge(int, int, int, int, Edge, BorderStyle, Unit, Color)
Sets the borders surrounding the specified range of the table.
- SetShading(int, int, int, int, Color)
Sets a shading of the specified Color in the specified Tablerange.