How can we extract headings and subheadings from PDF document in c#

How can we extract headings and subheadings from PDF document in c#

@kranthireddyr

As per PDF Document Structure, there are no separate entities for headings or subheadings. In other words, headings and subheadings can only be specified at the time of PDF generation and once it is generated, they will be stored just like a text object. So, it would not be possible to detect and extract only headings/subheadings from a PDF document using Aspose.PDF. In case you have further inquiry, please let us know.