Prints the Pdf document using default printer.
public
void PrintDocument();
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.PrintDocument(ps);
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.PrintDocument(ps);
viewer.ClosePdfFile()
See Also
PdfViewer Class | Aspose.Pdf.Kit Namespace