Unplanned
Last Updated: 07 Mar 2022 09:20 by Xavi
Xavi
Created on: 07 Mar 2022 09:20
Category: PdfProcessing
Type: Bug Report
0
PdfProcessing: Invoking Measure() on a one-row table that contains a cell with a Rowspan > 1 set is adding additional lines to the table

When a Table consisting of one TableRow that contains a TableCell with a Rowspan > 1 set, additional lines are added to the table.

Table table = new Table();
TableRow row = table.Rows.AddTableRow();
row.Cells.AddTableCell();
TableCell secondCell = row.Cells.AddTableCell();
secondCell.RowSpan = 2;
table.Measure();
table.Rows.AddTableRow();
The result:

0 comments