NewPageEventArgs Class

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Event args container for the NewPage event.
Inheritance Hierarchy

SystemObject
  Apitron.PDF.Kit.FlowLayoutNewPageEventArgs

Namespace:  Apitron.PDF.Kit.FlowLayout
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public sealed class NewPageEventArgs

The NewPageEventArgs type exposes the following members.

Properties

  NameDescription
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.
Top
See Also

Reference