PdfTableRow Class
A row of a PdfTable. The properties that are null take the value of the table.
public sealed class PdfTableRowConstructors
| Name | Description |
|---|---|
| PdfTableRow() | Initializes a new instance of the PdfTableRow class, without cells. |
| PdfTableRow(ReadOnlySpan<string>) | Initializes a new instance of the PdfTableRow class. |
PdfTableRow overloads
PdfTableRow()
PdfTableRow.csInitializes a new instance of the PdfTableRow class, without cells.
public PdfTableRow()PdfTableRow(ReadOnlySpan<string>)
PdfTableRow.csInitializes a new instance of the PdfTableRow class.
public PdfTableRow(params scoped ReadOnlySpan<string> cells)Parameters
cellsReadOnlySpan<string>- The texts of the cells, one per column.
Properties
| Name | Description |
|---|---|
| Background | Gets or sets the color that fills the cells, or null for no background. |
| Cells | Gets the cells of the row, from the left. The columns after the last cell are empty. |
| Font | Gets or sets the font of the cells, or null for the font of the table. |
| FontSize | Gets or sets the font size of the cells, or null for the font size of the table. |
| TextColor | Gets or sets the color of the text of the cells, or null for the color of the table. |
Background
PdfTableRow.csCells
PdfTableRow.csGets the cells of the row, from the left. The columns after the last cell are empty.
public IList<PdfTableCell> Cells { get; }Property value
Font
PdfTableRow.csFontSize
PdfTableRow.csTextColor
PdfTableRow.csMethods
| Name | Description |
|---|---|
| AddCell(string) | Adds a cell at the end of the row. |
AddCell(string)
PdfTableRow.csAdds a cell at the end of the row.
public PdfTableCell AddCell(string text)