Hi,
I want to pass or use the byteArary directly to create the Aspose word document.
Right now, Aspose Document class API has only two options - stream, or local file
public Document(Stream stream);
public Document(string fileName);
I dont want to save the data received from the server to local file. I want to pass the byteArary directly to Document object without creating/using the MemoryStream. Is their any alternative appraoch?. Are there any other Stream utilities. Please assist.
Right now In my Asp.Net MVC 4.0 project (C#), I am creating the Aspose document as follows:
byte[] byteArray = DownloadTestFileStream();
Stream stream = new MemoryStream(byteArray);
doc = new Document(stream);