We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

PdfLoadedDocument, how to insert table/grid into PDF

Hi, I cannot find a way to insert a generated (in c# code) PDF table/grid into the existing loaded PDF. There is no "page" property in the PdfLoadedDocument. I do not need to add a page since the PDF already exists. What would be my steps to insert a generated PDF table/grid into an existing PDF?

Thanks.


1 Reply

IJ Irfana Jaffer Sadhik Syncfusion Team November 7, 2022 07:56 AM

We do not have direct support to insert a grid into the existing pdf document. It is not possible to convert the PdfLoadedPage to PdfPage. You can draw the PdfGrid to an existing document by converting it into a PdfDocument. We can access pdf pages from the PdfDocument. We have attached a sample for your reference. Please try this on your end and let us know the result:


Sample; https://www.syncfusion.com/downloads/support/directtrac/general/ze/NetCoreSample768404314


Follow the below links for more information:

https://help.syncfusion.com/file-formats/pdf/pdfgrid#creating-a-simple-table

https://help.syncfusion.com/file-formats/pdf/working-with-pages#importing-pages-from-an-existing-document

https://www.syncfusion.com/kb/9548/how-to-draw-grid-in-a-pdf-using-c-and-vb-net


Loader.
Live Chat Icon For mobile
Up arrow icon