NewPageEventArgs Properties

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET

The NewPageEventArgs type exposes the following members.


Public propertyContext
Gets the current generation context.
Public propertyOverridingStyleManager
Gets the overriding style manager. It can be used to re-assign/change styles for objects that are to be generated for newly created page. This style manager gets the priority over base StyleManager if any matching style is found. E.g. you want to change the color of a textblock created on page 2 of the document, simply add new matching style with the new color set when page 2 is going to be generated. You may use CurrentPage value to get the current page number.
Public propertyPageBoundary
Gets the page boundary set for document generation. It can be altered for particular page if needed by setting this property in event handler.
See Also