Unable to use PRINT method

I am getting a "Not defined" error on trying to use the .PrintDocumentWithSettings method.

I have used the example in the Help file and I get the error on

Dim prtdoc As PrintDocument = New PrintDocument()

PrintDocument is not defined.

I have Imports Aspose.Pdf.Kit

Suggestions?


This message was posted using Aspose.Live 2 Forum

Hi,

Thank you very much for considering Aspose.

Please try to use PdfViewer class, if you’re using Aspose.Pdf.Kit, and then try to call these methods to print the PDF document. However, if problem persists then please share the code snippet and the PDF file you’re using at your end, so we could test the issue at our end and help you out.

We’re sorry for the inconvenience.
Regards,