We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How access paraId attribute of a paragraph in a word document

I have to find the paragraph node by stylername which I can do by using getParagraphFormat() method. Is there any unique ID associated with the paragraph that I can retrieve? When looking at XML version I can see w14:paraId attribute in the paragraph but I do not find any way to access it from aspose APIs.

@prkumar

Thanks for your inquiry. We suggest you please read about Aspose.Words’ document object model from here:
Aspose.Words Document Object Model

Aspose.Words does not provide API to get/set unique IDs of Node. However, you can bookmark the nodes and access them using it. Please read following article about working with bookmarks.
Working with Bookmarks

Best Regards,
Tahir manzoor