Version

ReportPublishing Event (XpsDocument)

Occurs when the report is being published
Syntax
'Declaration
 
Public Event ReportPublishing As System.EventHandler(Of PublishProgressEventArgs)
public event System.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 8.1, 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

View on GitHub