Aspose.Pdf.Generator not available anymore- what to use now?

Hi,



we used Aspose.Pdf.Generator to add text and tables to an new pdf file using a XML stylefile like the attached XML file.



It was pretty easy to create a PDF File using the styles. It also started at the top of the page to add text/tables and everything right below, just like html works.



In Version 17.6. Aspose.Pdf.Generator is not available anymore. So what to use now instead?



Thanks,

Daniel

Hello Daniel,


Thanks for contacting support.

The old legacy Aspose.Pdf.Generator approach has been obsoleted in latest release of Aspose.Pdf for .NET. In latest release you can work with DOM (Document Object Model) approach and create DOM based XML templates to generate PDF documents. For more information please visit following helpful links of API documentation.

- Introduction to DOM API
- Working with Aspose.Pdf
- Convert XML to PDF

Moreover, you can follow latest XML Schema, in order to create DOM based XML templates, to generate PDF documents. You can find XML Schema in XML folder which is located at Aspose.Pdf for .NET installation directory. I have also attached a sample DOM based XML template and generated PDF document from it, for your reference.

Please try following new XML structure to create XML templates for PDF Generation and in case of any further assistance, please feel free to contact us.


Best Regards,