PdfFlowRowBuilder Class
Builds the cells of a row of a table of a flow document.
public sealed class PdfFlowRowBuilderMethods
| Name | Description |
|---|---|
| Cell(Action<PdfFlowContainer>, int, int) | Adds a cell that holds blocks: paragraphs, lists, images, nested tables... |
| Cell(string, int, int) | Adds a cell that holds a text. |
Cell overloads
Cell(Action<PdfFlowContainer>, int, int)
PdfFlowRowBuilder.csAdds a cell that holds blocks: paragraphs, lists, images, nested tables...
public PdfFlowRowBuilder Cell(Action<PdfFlowContainer> content, int columnSpan = 1, int rowSpan = 1)Parameters
contentAction<PdfFlowContainer>- The function that adds the blocks of the cell.
columnSpanint- The number of columns the cell spans.
rowSpanint- The number of rows the cell spans.
Returns
PdfFlowRowBuilder The builder.
Exceptions
ArgumentOutOfRangeException- A span is not positive.
Cell(string, int, int)
PdfFlowRowBuilder.csAdds a cell that holds a text.
public PdfFlowRowBuilder Cell(string text, int columnSpan = 1, int rowSpan = 1)Parameters
textstring- The text.
columnSpanint- The number of columns the cell spans.
rowSpanint- The number of rows the cell spans.
Returns
PdfFlowRowBuilder The builder.