public interface PdfPageActions
Modifier and Type | Method and 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_CLOSE
action
- the action to perform
DocumentException
- if the action type is invalid
void setDuration(int seconds)
seconds
- the number of seconds to display the page
void setTransition(PdfTransition transition)
transition
- the Transition object
Copyright © 1998–2019. All rights reserved.