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.
Shows how to track layout changes with a layout callback.
#include <Aspose.Words.Cpp/Layout/IPageLayoutCallback.h>
Public Member Functions | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
virtual void | Notify (SharedPtr< PageLayoutCallbackArgs > args)=0 |
This is called to notify of layout build and rendering progress. More... | |
Static Public Member Functions | |
static const TypeInfo & | Type () |
|
overridevirtual |
Reimplemented from System::Object.
|
overridevirtual |
Reimplemented from System::Object.
|
pure virtual |
This is called to notify of layout build and rendering progress.
Exception when thrown by implementation aborts layout build process.
args | An argument of the event. |
Shows how to track layout changes with a layout callback.
|
static |