com.aspose.words
Interface IDocumentSavingCallback


public interface IDocumentSavingCallback 

Implement this interface if you want to have your own custom method called during saving a document.

Method Summary
abstract voidnotify(DocumentSavingArgs args)
           This is called to notify of document saving progress.
 

Method Detail

notify

public abstract void notify(DocumentSavingArgs args)
This is called to notify of document saving progress. The primary uses for this interface is to allow application code to obtain progress status and abort saving process.

An exception should be threw from the progress callback for abortion and it should be caught in the consumer code.

Parameters:
args - An argument of the event.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.