We have some difficulties with tables and row breaks on page breaks in C#.
You can see the scheme of the table we created (it works fine) on the table1.jpg file attachaed. Each cell contains a nested table with a header and a content.
The 2x2 cell is totally filled with a picture (so a nested table with a header and a picture for content).
When we add
this table to the end of our document, here is what happens: the picture is too huge to fit in the first page (cf table_prob.jpg). The red
line is the page break.
The table attributes are set as IsRowBroken = false ; IsBroken = true ;
We expect the table to behave like in the table_whatwewant.jpg file.
We already tried image positioning attributes, IsKeptWithNext attributes, and IsBroken attributes, and many other things.
Is there any way to do this automatically, without calculating successively each first page element height, adding it together, and inserting a page break manually at the right location?