com.aspose.words
Interface IDocumentLoadingCallback


public interface IDocumentLoadingCallback 

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

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

Method Detail

notify

public abstract void notify(DocumentLoadingArgs args)
This is called to notify of document loading progress. The primary uses for this interface is to allow application code to obtain progress status and abort loading 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:
LoadOptions.ProgressCallback

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