Closed hisuwh closed 1 year ago
Actually I've realised the underlying document object is public so I can do this
var resultStream = new MemoryStream();
document._wordprocessingDocument.Clone(resultStream);
resultStream.Seek(0, SeekOrigin.Begin);
Might be nice to have a first class method though?
Feel free to do PR? I would be more than happy to accept this as an improvement
Here you go: https://github.com/EvotecIT/OfficeIMO/pull/43
@hisuwh Tests are failing tho?
I am developing a web application and want to be able to generate a word document to then be downloaded by the user.
This library does not give me the option to save to a Stream only a file path