PDFView4NET WinForms Edition
PrintProgress Event (PDFDocument)




O2S.Components.PDFView4NET Namespace > PDFDocument Class : PrintProgress Event
Fired after a PDF page is printed, to notify about the progress of the print operation.
Syntax
'Declaration
 
Public Event PrintProgress As EventHandler(Of PrintProgressEventArgs)
'Usage
 
Dim instance As PDFDocument
Dim handler As EventHandler(Of PrintProgressEventArgs)
 
AddHandler instance.PrintProgress, handler
public event EventHandler<PrintProgressEventArgs> PrintProgress
public: __event EventHandler<PrintProgressEventArgs*>* PrintProgress
public:
event EventHandler<PrintProgressEventArgs^>^ PrintProgress
Event Data

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

PropertyDescription
Gets or sets a value indicating whether the page printing should be cancelled or not.  
Gets the page number within the print range being printed.  
Gets the page number within the document being printed.  
Gets the total number of pages being printed.  
Remarks
You can use this event to dispaly a progress bar that indicates the progress of the print operation.
Requirements

Target Platforms: 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