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

ConstructorDescription
GoToRemoteAction(String remotePdf, int remotePageNumber)Initializes GoToRemoteAction object.
GoToRemoteAction(String remotePdf, ExplicitDestination destination)Initializes GoToRemoteAction object.

Methods

MethodDescription
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:

ParameterTypeDescription
remotePdfjava.lang.StringDestination PDF document.
remotePageNumberintDestination page number.

GoToRemoteAction(String remotePdf, ExplicitDestination destination)

public GoToRemoteAction(String remotePdf, ExplicitDestination destination)

Initializes GoToRemoteAction object.

Parameters:

ParameterTypeDescription
remotePdfjava.lang.StringDestination PDF document.
destinationExplicitDestinationDestination 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:

ParameterTypeDescription
valueFileSpecificationFileSpecification 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:

ParameterTypeDescription
valueintExtendedBoolean 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:

ParameterTypeDescription
valueIAppointmentdestination to jump