aspose.words.layout.IPageLayoutCallback class. Implement this interface if you want to have your own custom method called during build and rendering of page layout model....class RenderPageLayoutCall ( aw . layout . IPageLayoutCallback...event if switch_condition == aw . layout . PageLayoutEvent ....