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

Free Support Forum - aspose.com

Getting content of Paragraph with nested/inline content controls


I am using Aspose 14.5 in my work. I need to extract the complete text of the paragraph including content which might be inside nested or inline content controls.
Following are scenarios:
1) Paragraph may itself be part of a content control.
2) The paragraph can have multiple levels of nested content controls.

I have attached a word document for the same.
Hi Mantu,

Thanks for your inquiry. Currently, you can directly get HTML and TEXT representations of a document element for example a Paragraph by using Paragraph.ToString(SaveFormat.Html) and Paragraph.ToString(SaveFormat.Text) methods. I hope, this helps.

Best regards,