Hi all,
I am trying to write a function that can insert a table with the PdfGrid class into an already existing pdf. I am loading the existing pdf that I have stored (as a base64 string) into a memory stream to put this into a loadedDocument object. What I am trying to get to work is to be able to paginate the pdfGrid across multiple pages and as far as I understood this correctly I can do this by passing a layoutFormat into the draw function. The problem is the draw function that I use (pdfGrid.Draw()) only accepts a pdfGraphics object and a position not a layoutFormat.
So my question is: is it even possible to insert a pdfGrid into a loadedDocument object that also supports pagination or do I always have to start from scratch with a normal PdfDocument?
See my function in the attachments.
Thank you in advance !
Greetings
Zietse
Attachment:
ForumPost_65bccd2b.rar