PdfFlowRowBuilder Class

Builds the cells of a row of a table of a flow document.

public sealed class PdfFlowRowBuilder

Methods

NameDescription
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.cs

Adds a cell that holds blocks: paragraphs, lists, images, nested tables...

public PdfFlowRowBuilder Cell(Action<PdfFlowContainer> content, int columnSpan = 1, int rowSpan = 1)
Parameters
content Action<PdfFlowContainer>
The function that adds the blocks of the cell.
columnSpan int
The number of columns the cell spans.
rowSpan int
The number of rows the cell spans.
Returns

PdfFlowRowBuilder The builder.

Exceptions
ArgumentOutOfRangeException
A span is not positive.

Cell(string, int, int)

PdfFlowRowBuilder.cs

Adds a cell that holds a text.

public PdfFlowRowBuilder Cell(string text, int columnSpan = 1, int rowSpan = 1)
Parameters
text string
The text.
columnSpan int
The number of columns the cell spans.
rowSpan int
The number of rows the cell spans.
Returns

PdfFlowRowBuilder The builder.