We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Loading a PDF from MemoryStream directly into viewer

I’m not using Aspose yet, but am looking for products that will solve a particular issue.

I need a viewer control that can be embedded in a Windows Form application, and permits a PDF document to be loaded directly from a MemoryStream.

Will the Aspose PDF viewer meet this need? If so, please provide sample code.




You can use Aspose.Pdf.Kit.PdfViewer for this purpose. Please consult OpenPdfFile and DecodeAllPages and DecodePage for more information.