com.aspose.words

Interface IPageLayoutCallback

  • public interface IPageLayoutCallback 

Implement this interface if you want to have your own custom method called during build and rendering of page layout model.
The primary use for this interface is to allow application code to abort build process.

It is possible to build page layout model for only a few pages at start of the document then abort process and render only what has been built already.

Note, however, that rendering results may not match what would be rendered for each page if process would have finished.

This technique may not work for every document or may fail completely.

See Also:
LayoutOptions.Callback

Method Summary
abstract voidnotify(PageLayoutCallbackArgs args)
This is called to notify of layout build and rendering progress.
 

    • Method Detail

      • notify

        public abstract void notify(PageLayoutCallbackArgs args)
                                 throws java.lang.Exception
        This is called to notify of layout build and rendering progress. Exception when thrown by implementation aborts layout build process.

        Parameters:
        args - An argument of the event.