PdfPrintPageEventArgs Class
Provides data for the PdfViewer.PrintPage and PdfDocumentProcessor.PrintPage events.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Pdf.v21.2.Drawing.dll
Declaration
Remarks
The PdfViewer.PrintPage (PdfDocumentProcessor.PrintPage) event occurs when the document is sent to a printer. The PdfPrintPageEventArgs class contains the PdfPrintPageEventArgs.PageNumber and PdfPrintPageEventArgs.PageCount properties that allow you to obtain the current page number and the total number of pages in a document.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PdfPrintPageEventArgs class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.