[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PrinterSettings.PrintProgress

PrintProgress Event

Occurs when there is a change in the printing progress.

Namespace: GrapeCity.ActiveReports
Assembly: MESCIUS.ActiveReports.Viewer.Common.dll
Syntax
public event PrintProgressEventHandler PrintProgress
Returns
Type Description
PrintProgressEventHandler Occurs when there is a change in the printing progress.
Remarks

This event is raised during the printing process to provide updates on the progress of the print job. It can be used to update a progress bar, display status messages, or perform other UI updates related to the printing progress. Subscribing to this event is particularly useful in applications where user feedback during long-running print jobs is essential.

Examples

This example demonstrates how to use the PrintProgressEventArgs in a print progress event handler:

void OnPrintProgress(object sender, GrapeCity.ActiveReports.Printing.PrintProgressEventArgs e)
{
    Console.WriteLine($"Printing page {e.CurrentPage}.");
    // Additional logic to handle print progress can be added here
}