Menu

Load Text File

Shoaib

Aspose.Words - Load Text File

// The encoding of the text file is automatically detected.
Document doc = new Document(dataPath + "LoadTxt.txt");

// Save as any Aspose.Words supported format, such as DOCX.
doc.save(dataPath + "AsposeLoadTxt_Out.docx");

Download Source Code

For More Examples, Please Visit Aspose Docs


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.