Back to Devexpress

PdfViewer.Print() Method

windowsforms-devexpress-dot-xtrapdfviewer-dot-pdfviewer-89544c67.md

latest1.8 KB
Original Source

PdfViewer.Print() Method

Invokes a Print dialog and prints the current document using the print settings specified in this dialog window.

Namespace : DevExpress.XtraPdfViewer

Assembly : DevExpress.XtraPdfViewer.v25.2.dll

NuGet Package : DevExpress.Win.PdfViewer

Declaration

csharp
public void Print()
vb
Public Sub Print

Remarks

When you call the Print method, a Print dialog is invoked. This handles the PdfViewer.PageSetupDialogShowing event. This event allows you to get access to the printer settings using the PdfPageSetupDialogShowingEventArgs.PrinterSettings property, change the location, start position and size of the PDF printing dialog using PdfPageSetupDialogShowingEventArgs.FormLocation, PdfPageSetupDialogShowingEventArgs.FormStartPosition and PdfPageSetupDialogShowingEventArgs.FormSize properties.

See Also

PdfViewer Class

PdfViewer Members

DevExpress.XtraPdfViewer Namespace