public class GoToAction extends PdfAction
Represents a go-to action that changes the view to a specified destination (page, location, and magnification factor).
Constructor and Description |
---|
GoToAction()
Deprecated.
|
GoToAction(Document doc,
String name)
Action which linked with Named Destination.
|
GoToAction(ExplicitDestination destination)
Constructor.
|
GoToAction(int page)
Deprecated.
|
GoToAction(Page page)
Constructor for GoToAction class.
|
GoToAction(Page page,
int type,
double... values)
Constructor for GoToAction class.
|
Modifier and Type | Method and Description |
---|---|
IAppointment |
getDestination()
Gets the destination to jump to.
|
void |
setDestination(IAppointment value)
Sets the destination to jump to.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
@Deprecated public GoToAction(int page)
Constructor for GoToAction class.
page
- int valuepublic GoToAction(Page page)
Constructor for GoToAction class.
page
- Page destination object to jump to.public GoToAction(Page page, int type, double... values)
Constructor for GoToAction class.
page
- Destination page.type
- Destination type.values
- Action parameters.public GoToAction(ExplicitDestination destination)
Constructor.
destination
- Explicit destination.@Deprecated public GoToAction()
Constructor.
public IAppointment getDestination()
Gets the destination to jump to.
public void setDestination(IAppointment value)
Sets the destination to jump to.
value
- IAppointment value