Class PdfDocumentEvent
Event dispatched by PdfDocument.
public class PdfDocumentEvent : Event
- Inheritance
-
PdfDocumentEvent
- Inherited Members
Constructors
PdfDocumentEvent(string, PdfDocument)
Creates a PdfDocumentEvent.
public PdfDocumentEvent(string type, PdfDocument document)
Parameters
type
stringtype of the event that fired this event
document
PdfDocumentdocument that fired this event
PdfDocumentEvent(string, PdfPage)
Creates a PdfDocumentEvent.
public PdfDocumentEvent(string type, PdfPage page)
Parameters
Fields
END_PAGE
Dispatched before page is flushed to a document.
public const string END_PAGE = "EndPdfPage"
Field Value
Remarks
Dispatched before page is flushed to a document. This event isn't necessarily dispatched when a successive page has been created. Keep it in mind when using with highlevel iText API.
INSERT_PAGE
Dispatched after page is inserted/added into a document.
public const string INSERT_PAGE = "InsertPdfPage"
Field Value
REMOVE_PAGE
Dispatched after page is removed from a document.
public const string REMOVE_PAGE = "RemovePdfPage"
Field Value
START_PAGE
Dispatched after page is created.
public const string START_PAGE = "StartPdfPage"
Field Value
page
The PdfPage associated with this event.
protected PdfPage page
Field Value
Methods
GetDocument()
Returns the PdfDocument associated with this event.
public virtual PdfDocument GetDocument()
Returns
- PdfDocument
the PdfDocument associated with this event
GetPage()
Returns the PdfPage associated with this event.
public virtual PdfPage GetPage()
Returns
- PdfPage
the PdfPage associated with this event
Remarks
Returns the PdfPage associated with this event. Warning: this can be null.