how to convert string to word document using aspose.words?
Thanks for your request. Could you please clarify your requirement?
As a very simple way, you can try using the following code:
Document doc = new Document(); DocumentBuilder builder = new DocumentBuilder(doc); builder.Writeln("My string"); doc.Save("C:\\Temp\\out.doc");
how to get tht string in to document object without write into document
Thanks for your request. Do you mean loading TXT document? If so, please follow the link how to achieve this: