I am trying to add a PDFLightTable object to an existing PDF document. I also need to obtain the size of the table after it's drawn, so I cannot use the draw method using the Graphics object as the first argument.
The problem I have it that I need to open the existing object into a PDFLoadedDocument object. The Pages collection returns a PDFLoadedPage object, and this object cannot be passed into the table's draw method, and it cannot be converted into a PDFPage object either. I've tried passing the existing page as a PdfPageBase object, but that also fails with the error:
"Unable to cast object of type 'Syncfusion.Pdf.PdfLoadedPage' to type 'Syncfusion.Pdf.PdfPage'."
Has anyone been able to accomplish this with version 6.3.0.6?
AddingTableToPDF_74df9088.zip