Skip to main content

XtraReport.PrintProgress Event

Occurs before sending every document page to a printer to indicate the current printing progress.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public event PrintProgressEventHandler PrintProgress

Event Data

The PrintProgress event's data class is PrintProgressEventArgs. The following properties provide information specific to this event:

Property Description
PageIndex Gets the index of the current page that should be sent to a printer, next.
PageSettings Gets or sets the page settings of the current page that should be sent to a printer, next.
PrintAction Gets a value indicating what type of print operation is occurring.

Remarks

Note

The PrintProgress event fires only for Windows Forms and WPF applications.

Handle the PrintProgress event to perform cetain actions before every page is sent to a printer. For example, if you want to manually reflect the current printing progress, you can bind the progress bar’s ProgressBarControl.Position property to the PrintProgressEventArgs.PageIndex property value. This event also allows you to change some of the printed page’s settings via the PrintProgressEventArgs.PageSettings property (for example, change the paper source).

See Also