Free Support Forum - aspose.com

[need Help] View a PDF File

Hello,

i tried to view a pdf file but without succed.

Is there any little code example how to do this in C#?

Hi,

Thanks for your interest in our products.

Frankly speaking Aspose.Pdf for .NET does not support the feature to view the PDF document but PdfViewer class present in Aspose.Pdf.Facades Namespace provides the capabilities to print the PDF documents. However as a workaround, you can convert the pages of PDF document into image format and display these images inside image control in your application. You may consider visiting the following link for more information on Convert all PDF pages to JPEG Images or Convert all PDF pages to PNG Images.

In case you have any further query, please feel free to contact. We apologize for your inconvenience.