GoToAction
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.PdfAction
public class GoToAction extends PdfAction
Represents a go-to action that changes the view to a specified destination (page, location, and magnification factor).
Constructors
Constructor | Description |
---|---|
GoToAction(int page) | Constructor for GoToAction class. |
GoToAction(Page page) | Constructor for GoToAction class. |
GoToAction(Page page, int type, double[] values) | Constructor for GoToAction class. |
GoToAction(ExplicitDestination destination) | Constructor. |
GoToAction() | Constructor. |
GoToAction(Document doc, String name) | Action which linked with Named Destination. |
Methods
Method | Description |
---|---|
getDestination() | Gets the destination to jump to. |
setDestination(IAppointment value) | Sets the destination to jump to. |
GoToAction(int page)
public GoToAction(int page)
Constructor for GoToAction class.
Parameters:
Parameter | Type | Description |
---|---|---|
page | int | int value |
GoToAction(Page page)
public GoToAction(Page page)
Constructor for GoToAction class.
Parameters:
Parameter | Type | Description |
---|---|---|
page | Page | Page destination object to jump to. |
GoToAction(Page page, int type, double[] values)
public GoToAction(Page page, int type, double[] values)
Constructor for GoToAction class.
Parameters:
Parameter | Type | Description |
---|---|---|
page | Page | Destination page. |
type | int | Destination type. |
values | double[] | Action parameters. |
GoToAction(ExplicitDestination destination)
public GoToAction(ExplicitDestination destination)
Constructor.
Parameters:
Parameter | Type | Description |
---|---|---|
destination | ExplicitDestination | Explicit destination. |
GoToAction()
public GoToAction()
Constructor.
GoToAction(Document doc, String name)
public GoToAction(Document doc, String name)
Action which linked with Named Destination.
Parameters:
Parameter | Type | Description |
---|---|---|
doc | Document | Document where action will be created. |
name | java.lang.String | Name of the destination. |
getDestination()
public IAppointment getDestination()
Gets the destination to jump to.
Returns: IAppointment - IAppointment value
setDestination(IAppointment value)
public void setDestination(IAppointment value)
Sets the destination to jump to.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IAppointment | IAppointment value |