Hi
Thank you for your interest in Aspose.Words. I think that this is impossible.
This save method works like the following code.
MemoryStream stream = new MemoryStream();
doc.Save(stream, SaveFormat.Doc);
byte[] bytes = stream.GetBuffer();
Response.Clear();
// Specify the document type.
Response.ContentType = "application/msword";
// Other options:
// Response.ContentType = "text/plain"
// Response.ContentType = "text/html"
// Specify how the document is sent to the browser.
Response.AddHeader("content-disposition", "attachment; filename=test.doc");
// Another option could be:
// Response.AddHeader "content-disposition","inline; filename=MyDocument.doc";
// Get data bytes from the stream and send it to the response.
Response.BinaryWrite(bytes);
Response.End();
Best regards.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.