Saving word document into text file


I want to save the word document as a text file. I tried using the saveformat.formattext. But the paragraph break, line break and hyperlinks are not working, how can I resolve it.



Thank you for considering Aspose.

Surely, plain text files do not provide any formatting. You probably could use IDocumentVisitor and write text into a text file accordingly to the formatting specified in the source document. Please also see this topic: