Prints the Pdf document with a setup dialog. Choose a printer using the dialog.
public
void PrintDocumentWithSetup();
Example
[C#]
PdfViewer viewer = new PdfViewer();
viewer.OpenPdfFile(@"d:\test.pdf");
viewer.AutoResize = true; //print the file with adjusted size
viewer.AutoRotate = true; //print the file with adjusted rotation
viewer.PrintPageDialog=false;//do not produce the page number dialog when printing
viewer.PrintDocumentWithSetup();
viewer.ClosePdfFile();
[VisualBasic]
Dim viewer As PdfViewer = new PdfViewer()
viewer.OpenPdfFile(@"d:\test.pdf")
viewer.AutoResize = true 'print the file with adjusted size
viewer.AutoRotate = true 'print the file with adjusted rotation
viewer.PrintPageDialog=false;//do not produce the page number dialog when printing
viewer.PrintDocumentWithSetup()
viewer.ClosePdfFile()
See Also
PdfViewer Class | Aspose.Pdf.Kit Namespace