Free Support Forum - aspose.com

Displaying a pdf in a User Control

Is it possipble to display a pdf file (or a part of it) in a usercontrol ? The same question belongs to showing a ppt-file

thanks in advance
Michael…


Hi Michael,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for contacting support.

Aspose.Pdf for .NET does not provide any visual tool / control to view the PDF file on a Web Page. It is a tool / API to generate new and manipulate existing PDF files programmatically.

I would like to inform you that our sister company GroupDocs.com offers a viewer app which you may consider including in your application to view the PDF files.

If you would like to use Aspose.Pdf for .NET, one way to accomplish your requirement can be to convert the resultant Pdf file into images and use ImageViewer Control of .NET to display the resultant images. Please see the following documentation link regarding details on how to convert PDF to Images and see if it fits your need.

Aspose.PDF DOM links:

Convert all PDF pages to JPEG Images

Convert all PDF pages to PNG Images

Convert all PDF pages to single TIFF Image

Aspose.Pdf.Facades Links:

Convert PDF Pages to Different Image Formats (Facades)

Convert PDF File to Single TIFF Image (Facades)

Regarding your request to PPT files, I am moving this thread to Aspose.Total forum where Aspose.Slides team member will reply you accordingly.

Please feel free to contact support in case you need any further assistance.

Thank You & Best Regards,