PdfACopy, PdfASmartCopy, PdfAStamperImp, PdfAWriter, PdfCopy, PdfSmartCopy, PdfWriterpublic interface PdfPageActions
| Modifier and Type | Method | Description |
|---|---|---|
void |
setDuration(int seconds) |
Sets the display duration for the page (for presentations)
|
void |
setPageAction(PdfName actionType,
PdfAction action) |
Sets the open and close page additional action.
|
void |
setTransition(PdfTransition transition) |
Sets the transition for the page
|
void setPageAction(PdfName actionType, PdfAction action) throws DocumentException
actionType - the action type. It can be PdfWriter.PAGE_OPEN
or PdfWriter.PAGE_CLOSEaction - the action to performDocumentException - if the action type is invalidvoid setDuration(int seconds)
seconds - the number of seconds to display the pagevoid setTransition(PdfTransition transition)
transition - the Transition objectCopyright © 1998–2018. All rights reserved.