Free Support Forum -

Inserting Text into a document


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


Thanks for your request. Please follow the link to learn how to insert elements into the document:

Best regards,