Hi,
I have been asked to change the code behind the PDF i am creating to make it flow onto multiple pages if required.
Unfortunately the layout is fairly complex - it consists of two columns, with multiple tables nested in each column - i originally had a "container" table which set the overall layout using col widths and row heights, but that didnt really work for the flowing onto another page requirement, so I have removed this container table and just have each of the tables adding directly to the LastSection, with the tables in the right hand column now all being one table, which is absolutely positioned within a text frame to align with the right hand side of the tables in the left column - it looks good, but the absolutely positioned table will not flow over multiple pages, which is a huge problem.
So, after reading a post about having faux background images for tables/cells using:
Code:
myMigraDocImage.WrapFormat.Style = MigraDoc.DocumentObjectModel.Shapes.WrapStyle.Through;
I figured there may be something similar for a table, but there doesnt seem to be?
My plan was to set all the tables in the left column to WrapStyle.Through, then have the table in the right column actually have two columns, one the same width as the left column which would have no borders, so would be "invisible" and then bordered cells making up the "visible" right column, with the WrapStyle allowing the right column table to be positioned over the left WrapStyle.Through tables.
Would this approach work? and if so, what properties should i set on the tables?
Thanks,
Mike