Getting Heading number

Hi,
I am adding paragraphs to document with different Heading styles, the document look like,

1. Paragrapth1
1.1 Paragraph2
1.1.1 Paragraph3
2. Paragraph4

Now i want to fetch the IndentNumber of the paragraph… Is there any method is there to fetch?
Regards,
Srinu Dhulipalla

Hi

Thanks for your inquiry. Unfortunately, there is no way to get list numbers using Aspose.Words. These numbers are not stored in the document. MS Word calculates list numbers on the fly during opening document. However, you can try to create your own method for calculating list numbers.
I created sample code for another customer to achieve similar task. Please see the following link to learn more.
https://forum.aspose.com/t/106128
I hope this could be useful for you.
Best regards.

A post was split to a new topic: Heading number of document