GoToRemoteAction
Inheritance: java.lang.Object, com.aspose.pdf.PdfAction, com.aspose.pdf.GoToAction
public final class GoToRemoteAction extends GoToAction
Represents a remote go-to action that is similar to an ordinary go-to action but jumps to a destination in another PDF file instead of the current file.
Constructors
Constructor | Description |
---|---|
GoToRemoteAction(String remotePdf, int remotePageNumber) | Initializes GoToRemoteAction object. |
GoToRemoteAction(String remotePdf, ExplicitDestination destination) | Initializes GoToRemoteAction object. |
Methods
Method | Description |
---|---|
getFile() | Gets the specification of the file in which the destination is located. |
setFile(FileSpecification value) | Sets the specification of the file in which the destination is located. |
getNewWindow() | Gets a flag specifying whether to open the destination document in a new window. |
setNewWindow(int value) | Sets a flag specifying whether to open the destination document in a new window. |
getDestination() | Gets the destination to jump to. |
setDestination(IAppointment value) | Sets the destination to jump to. |
GoToRemoteAction(String remotePdf, int remotePageNumber)
public GoToRemoteAction(String remotePdf, int remotePageNumber)
Initializes GoToRemoteAction object.
Parameters:
Parameter | Type | Description |
---|---|---|
remotePdf | java.lang.String | Destination PDF document. |
remotePageNumber | int | Destination page number. |
GoToRemoteAction(String remotePdf, ExplicitDestination destination)
public GoToRemoteAction(String remotePdf, ExplicitDestination destination)
Initializes GoToRemoteAction object.
Parameters:
Parameter | Type | Description |
---|---|---|
remotePdf | java.lang.String | Destination PDF document. |
destination | ExplicitDestination | Destination in the PDF document. |
getFile()
public FileSpecification getFile()
Gets the specification of the file in which the destination is located.
Returns: FileSpecification - FileSpecification object
setFile(FileSpecification value)
public void setFile(FileSpecification value)
Sets the specification of the file in which the destination is located.
Parameters:
Parameter | Type | Description |
---|---|---|
value | FileSpecification | FileSpecification value |
getNewWindow()
public int getNewWindow()
Gets a flag specifying whether to open the destination document in a new window.
Returns: int - ExtendedBoolean element
setNewWindow(int value)
public void setNewWindow(int value)
Sets a flag specifying whether to open the destination document in a new window.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | ExtendedBoolean element |
getDestination()
public IAppointment getDestination()
Gets the destination to jump to.
Returns: IAppointment - destination to jump
setDestination(IAppointment value)
public void setDestination(IAppointment value)
Sets the destination to jump to.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IAppointment | destination to jump |