.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PdfPrintPageEventArgs Class

Provides data for the PdfViewer.PrintPage and PdfDocumentProcessor.PrintPage events.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v21.2.Drawing.dll


public class PdfPrintPageEventArgs :


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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PdfPrintPageEventArgs class.


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.


See Also