Issue in integration of Aspose generated PDF with System.Windows.Forms.PrintPreviewControl

Hi,


I m facing issue in integrating aspose generated PDF with System.Windows.Forms.PrintPreviewControl.

Detail: The issue is there is no associated PrintDocument for Aspose.pdf as present for Aspose.Words (AsposeWordsPrintDocument). Please help me with the work around.

Thanks in advance.

Hi Rahul,

Thanks for contacting support.

As per my understanding, you are facing an issue while trying to print the PDF file generated with Aspose.Pdf for .NET. Please note that PdfViewer class in Aspose.Pdf.Facades namespace also provides the feature to print the PDF file. However if you are facing an issue while printing particular PDF file, please share the resource file and code snippet so that we can test the scenario at our end. In case I have not properly understood your requirement, please share some further details.

You may consider visiting the following link for further information on Working with PDF printing (Facades)