Hi Aspose support team,
I have to open the doc file using the aspose word version 13.5.0.0. In the sample code i have the following option to save which got from internet.
doc.Save(Response, “Aspose.Words.Demos.doc”, ContentDisposition.Attachment, SaveOptions.CreateSaveOptions(SaveFormat.Doc));
But this option is not available in my dll v 13.5.0.0. In this dll, save having 5 overload methods and all the methods are having two parameters only.
i have used the following code:
string html = txtMsgBdy.Html;
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.InsertHtml(html);
var resp = System.Web.HttpContext.Current.Response;
MemoryStream ms = new MemoryStream();
doc.Save(ms, Aspose.Words.SaveFormat.Docx);
after this i have to use the following to code to open the file.
doc.Save(Response, “Aspose.Words.Demos.doc”, ContentDisposition.Attachment, SaveOptions.CreateSaveOptions(SaveFormat.Doc));
How can i use above method in my code? Please help me.
Thanks.
Saravanan