I’ve been a bit mystified why aspose does not offer a more integrated solution for the actual viewing of .pdfs myself. Most of aspose’s stuff is so good, I’d love to see that in the future.
Thanks for sharing the details.
Aspose.Pdf for .NET supports the feature to create and manipulate PDF document and currently we do not have any plans to introduce any feature regarding PDF viewing.
A quick glace at viewer app recommended by codewarrior does not appear to be a very good solution. The licensing seem more for corps and less for development, and the control itself seems to be missing critical functionality (downloading) the .pdf for example.
You may use GroupDocs API’s
to accomplish more requirements and in case you do not find any solution for downloading PDF files, you may create a request to support staff taking taking of this venture.
The only problem with those approaches is that I’ve not found a good way to handle rendering a .pdf from the database. I’d love a recommendation there if anyone has one.
You may read the PDF contents from database using Byte array, convert the array to Stream object and Instantiate new Document object. Manipulate PDF file using Aspose.Pdf for .NET and then use View App to display the PDF file.
// read an example file to new byte
Byte exampleByteArray1 = File.ReadAllBytes(@"C:\pdfnew.pdf");
// write data to the new stream
MemoryStream mStream = new MemoryStream();
// instantiate Document class object
Document pdffile = new Document(mStream);