Event dispatched by PdfDocument. More...
|
const String |
START_PAGE = "StartPdfPage" |
|
Dispatched after page is created. More...
|
|
const String |
INSERT_PAGE = "InsertPdfPage" |
|
Dispatched after page is inserted/added into document. More...
|
|
const String |
REMOVE_PAGE = "RemovePdfPage" |
|
Dispatched after page is removed from document. More...
|
|
const String |
END_PAGE = "EndPdfPage" |
|
Dispatched before page is closed and written. More...
|
|
Event dispatched by PdfDocument.
◆ PdfDocumentEvent() [1/2]
iText.Kernel.Events.PdfDocumentEvent.PdfDocumentEvent |
( |
String |
type, |
|
|
PdfDocument |
document |
|
) |
|
|
|
inline |
Creates a PdfDocumentEvent.
-
Parameters
-
type |
type of the event that fired this event |
document |
document that fired this event |
◆ PdfDocumentEvent() [2/2]
iText.Kernel.Events.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 |
◆ GetDocument()
virtual PdfDocument iText.Kernel.Events.PdfDocumentEvent.GetDocument |
( |
|
) |
|
|
inlinevirtual |
Returns the PdfDocument associated with this event.
-
Returns
-
the PdfDocument associated with this event
◆ GetPage()
virtual PdfPage iText.Kernel.Events.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.Events.PdfDocumentEvent.END_PAGE = "EndPdfPage" |
|
static |
Dispatched before page is closed and written.
◆ INSERT_PAGE
const String iText.Kernel.Events.PdfDocumentEvent.INSERT_PAGE = "InsertPdfPage" |
|
static |
Dispatched after page is inserted/added into document.
◆ REMOVE_PAGE
const String iText.Kernel.Events.PdfDocumentEvent.REMOVE_PAGE = "RemovePdfPage" |
|
static |
Dispatched after page is removed from document.
◆ START_PAGE
const String iText.Kernel.Events.PdfDocumentEvent.START_PAGE = "StartPdfPage" |
|
static |
Dispatched after page is created.