The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.1.dll

Declaration

public event PrintProgressEventHandler PrintProgress
Public Event PrintProgress As PrintProgressEventHandler

Event Data

The PrintProgress event handler receives an argument of the PrintProgressEventArgs type. 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 Events and Delegates in MSDN for more information on handling events.

See Also