Interface IDocumentSavingCallback

Interface IDocumentSavingCallback

Namespace: Aspose.Words.Saving
Assembly: Aspose.Words.dll (25.3.0)

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

public interface IDocumentSavingCallback

Methods

Notify(DocumentSavingArgs)

This is called to notify of document saving progress.

void Notify(DocumentSavingArgs args)

Parameters

args DocumentSavingArgs

An argument of the event.

Remarks

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.