'Declaration Public Event ReportPublishing As EventHandler(Of PublishProgressEventArgs)
public event EventHandler<PublishProgressEventArgs> ReportPublishing
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.
Property | Description |
---|---|
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. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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