Version

ReportPublishing Event (Report)

Triggered while the report is being generated, for PDF and XPS reports. Is not triggered for text reports. The process will be finished when the IsFinished returns true. You can also know the current progress by using its Percentage property.
Syntax
'Declaration
 
Public Event ReportPublishing As EventHandler(Of PublishProgressEventArgs)
public event EventHandler<PublishProgressEventArgs> ReportPublishing
Event Data

The event handler receives an argument of type PublishProgressEventArgs containing data related to this event. The following PublishProgressEventArgs properties provide information specific to this event.

PropertyDescription
Current The current item that is being exported.
IsFinished Indicates if the process has finished.
Percentage Returns the current progress percentage.
Total The total number of items that will be output. The items are different for XPS and PDF, and are related with the internal workings of each document engine.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also