Create a PDF DOM from existing PDF document

Is it possible to create a DOM tree for an existing PDF document either using Aspose.Pdf.Kit or Aspose.Pdf?

I would like to extract formatted text from a PDF document. Is this possible? If it is can you point me to an example or resource that can show me how to do this?

Thanks for your time.

Hi Rajiv,

I’m sorry to share with you that Aspose.Pdf.Kit for Java currently doesn’t allow to create a DOM based structure of the PDF document. However, if you could elaborate your requirement a little bit, we would be able to provide support for this feature in our future versions.

Please share how you would like to get the formatted text and what attributes you would like to retrieve from the PDF file.

We’re sorry for the inconvenience and looking forward to help you out.
Regards,