Inserting Text into a document

Hi

We are using the Aspose.Words.Document object to load a word document.
What I am trying to do is load a blank document and then insert different messages depending on the condition.

Aspose.Words.Document doc = new Aspose.Words.Document(file);

below I need to add/insert some text into the doc object depending on some condition.

I was looking for a member called InnerText or something similar to the way we handle XMLDocuments but could not find any member or any examples from the “How To” section of your web site.

Thanks Very much in advance

Hello
Thanks for your request. Please follow the link to learn how to insert elements into the document:
https://docs.aspose.com/words/net/programming-with-documents/
Best regards,