Hey guys, very simply put I’m trying to use your software to convert a pdf to html using memory stream. I’m well aware of how to use the save method to save to file, what’s confusing to me is I can do this using the Aspose.Words but not Aspose.Pdf. Here’s what I’ve got:
Document pdfDocument = new Document(file.InputStream); // file comes from an upload control
MemoryStream ms = new MemoryStream();
sr = new StreamReader(ms);
Label1.Text = sr.ReadToEnd();
As you can see I’m looking to display the converted HTML pretty immediately. Let me know if this approach is flawed or if there’s some work around I could use. As stated I’m doing the same thing with word docs and its working out just fine.
This message was posted using Page2Forum from Document.Save Method (Stream, SaveFormat) - Aspose.Pdf for .NET