I have a document which is:
First page as PdfSharp
Second page as MigraDoc
Third page could be either
The problem I had with MigraDoc was that it was not wrapping to the next page. Even using a section page break did not seem to work.
I am outputting the MigraDoc parts with
Code:
docRend.RenderObject(gfx, XUnit.FromPoint(Margin), XUnit.FromPoint(Current_Top), "16cm", tablePage2)
Not sure if this is the best strategy as I always have to specify the Y position.
I would be happy to have the last page as PdfSharp but the paging is thrown out by the MigraDoc page, therefore Page 3 shows as Page 2 of 2 (not Page 3 of 3).
I might just have to manually hard code the paging in the footer :/