GdPicture.NET Reference Guide
SavingProgress Event (AnnotationManager)

GdPicture14 Namespace > AnnotationManager Class : SavingProgress Event
This event is raised right after the currently processed page has been successfully created and saved. It is only applied when the initial document is image-based.

Please check the corresponded AnnotationManager.SavingProgressEventHandler for given parameters.

The event is only raised when processing documents based on images using the SaveDocumentToPDF(String) or the SaveDocumentToTIFF(String,TiffCompression) methods and its overloads. The event is not raised, if your initial document is in PDF or TXT format and you are saving it using the SaveDocumentToPDF(String) method and its overloads. The event is not raised using the SaveDocumentToJPEG(String,Int32) method and its overloads as well.

Public Event SavingProgress As AnnotationManager.SavingProgressEventHandler
public event AnnotationManager.SavingProgressEventHandler SavingProgress
public event SavingProgress: AnnotationManager.SavingProgressEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event AnnotationManager.SavingProgressEventHandler* SavingProgress
event AnnotationManager.SavingProgressEventHandler^ SavingProgress
Be aware that the event is only raised using the SaveDocumentToPDF methods or the SaveDocumentToTIFF methods, if your initial document is image-based (neither PDF nor TXT). The event is not raised when using the SaveDocumentToJPEG methods.
How to add this event to your AnnotationManager object.
'We assume that the oAnnotManager object has been integrated into your application.
Friend WithEvents oAnnotManager As GdPicture14.AnnotationManager
'Add the event.
AddHandler oAnnotManager.SavingProgress, AddressOf oAnnotManager_SavingProgress
'Define the event.
Sub oAnnotManager_SavingProgress(ByVal PageNo As Integer, ByVal PageCount As Integer) Handles oAnnotManager.SavingProgress
    'Do your stuff here.
End Sub
//We assume that the oAnnotManager object has been integrated into your application.
//Add the event.
oAnnotManager.SavingProgress += oAnnotManager_SavingProgress;
//Define the event.
void oAnnotManager_SavingProgress(int PageNo, int PageCount)
    //Do your stuff here.
See Also


AnnotationManager Class
AnnotationManager Members
AnnotationManager.SavingProgressEventHandler Delegate
SaveDocumentToJPEG(String,Int32) Method
SaveDocumentToPDF(String) Method
SaveDocumentToTIFF(String,TiffCompression) Method