Class Cell
- Namespace
- MigraDoc.DocumentObjectModel.Tables
- Assembly
- MigraDoc.DocumentObjectModel.dll
Represents a cell of a table.
public class Cell : DocumentObject
- Inheritance
-
objectCell
- Inherited Members
- Extension Methods
Constructors
- Cell()
Initializes a new instance of the Cell class.
Properties
- Borders
Gets the Borders object.
- Column
Gets the column the cell belongs to. Can be null if Cell was not added to a column.
- Comment
Gets or sets a comment associated with this object.
- Elements
Gets the collection of document objects that defines the cell.
- Format
Gets the ParagraphFormat object of the paragraph.
- MergeDown
Gets or sets the number of cells to be merged down.
- MergeRight
Gets or sets the number of cells to be merged right.
- RoundedCorner
Specifies if the Cell should be rendered as a rounded corner.
- Row
Gets the row the cell belongs to. Can be null if Cell was not added to a row.
- Shading
Gets the shading object.
- Style
Sets or gets the style name.
- Table
Gets the table the cell belongs to. Can be null if Cell was not added to a table.
- Values
Gets the underlying internal nullable values for the properties of this document object.
- VerticalAlignment
Gets or sets the vertical alignment of the cell.
Methods
- Add(Paragraph)
Adds a new paragraph to the cell.
- Add(Chart)
Adds a new chart to the cell.
- Add(Image)
Adds a new image to the cell.
- Add(TextFrame)
Adds a new text frame to the cell.
- AddBarcode()
Adds a new barcode to the cell.
- AddChart()
Adds a new chart to the cell.
- AddChart(ChartType)
Adds a new chart with the specified type to the cell.
- AddImage(string)
Adds a new Image to the cell.
- AddParagraph()
Adds a new paragraph to the cell.
- AddParagraph(string)
Adds a new paragraph with the specified text to the cell.
- AddTextFrame()
Adds a new text frame to the cell.
- Clone()
Creates a deep copy of this object.
- DeepCopy()
Implements the deep copy of the object.