We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert string to word document using aspose.words

how to convert string to word document using aspose.words?

Hello
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");

Best regards,

how to get tht string in to document object without write into document

Hi
Thanks for your request. Do you mean loading TXT document? If so, please follow the link how to achieve this:
https://docs.aspose.com/words/net/create-or-load-a-document/
Best regards,