I am doing with Aspose.word. I have 2 matters want to ask you

Dear supporters,

I am doing with Aspose.word. I have 2 matters want to ask you

First, I want to extract the content in word with its format such as Bold,Italic and Underline to a textbox in VB.NET

Second, I also want to extract the content inside a textbox in word without basing on styles to a texbox in VB.NET

Thanks

You can download the following word.doc with 2 matters.

Hi,

Thanks for your inquiry.

  1. I would suggest you please read the following article on extracting content based on styles:
    https://docs.aspose.com/words/net/how-to-extract-selected-content-between-nodes-in-a-document/

  2. A TextBox is represented by a Shape instance in Aspose.Words’ DOM. To extract Shape’s content, please use its ChildNodes member that allows indexed or enumerated access to it’s children.

Best Regards,