Event dispatched by PdfDocument. More...
Event dispatched by PdfDocument.
◆ PdfDocumentEvent() [1/2]
| iText.Kernel.Pdf.Event.PdfDocumentEvent.PdfDocumentEvent |
( |
String |
type |
) |
|
|
inline |
Creates a PdfDocumentEvent.
-
Parameters
-
| type |
type of the event that fired this event |
◆ PdfDocumentEvent() [2/2]
| iText.Kernel.Pdf.Event.PdfDocumentEvent.PdfDocumentEvent |
( |
String |
type, |
|
|
PdfPage |
page |
|
) |
|
|
|
inline |
Creates a PdfDocumentEvent.
-
Parameters
-
| type |
type of the event that fired this event |
| page |
page that fired this event |
◆ GetPage()
| virtual PdfPage iText.Kernel.Pdf.Event.PdfDocumentEvent.GetPage |
( |
|
) |
|
|
inlinevirtual |
Returns the PdfPage associated with this event.
Returns the PdfPage associated with this event. Warning: this can be null.
-
Returns
-
the PdfPage associated with this event
◆ END_PAGE
| const String iText.Kernel.Pdf.Event.PdfDocumentEvent.END_PAGE = "EndPdfPage" |
|
static |
Dispatched before page is flushed to a document.
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
| const String iText.Kernel.Pdf.Event.PdfDocumentEvent.INSERT_PAGE = "InsertPdfPage" |
|
static |
Dispatched after page is inserted/added into a document.
◆ page
| PdfPage iText.Kernel.Pdf.Event.PdfDocumentEvent.page |
|
package |
The PdfPage associated with this event.
◆ REMOVE_PAGE
| const String iText.Kernel.Pdf.Event.PdfDocumentEvent.REMOVE_PAGE = "RemovePdfPage" |
|
static |
Dispatched after page is removed from a document.
◆ START_DOCUMENT_CLOSING
| const String iText.Kernel.Pdf.Event.PdfDocumentEvent.START_DOCUMENT_CLOSING = "StartDocumentClosing" |
|
static |
Dispatched after writer is flushed to a document.
◆ START_PAGE
| const String iText.Kernel.Pdf.Event.PdfDocumentEvent.START_PAGE = "StartPdfPage" |
|
static |
Dispatched after page is created.
◆ START_WRITER_CLOSING
| const String iText.Kernel.Pdf.Event.PdfDocumentEvent.START_WRITER_CLOSING = "StartWriterClosing" |
|
static |
Dispatched before writer is closed.