GoToRemoteAction

class GoToRemoteAction(val pdfPath: String?, @IntRange(from = 0) val pageIndex: Int, subActions: List<Action> = emptyList(), val destination: Destination = Destination( pageIndex = pageIndex, type = DestinationType.FitPage, left = 0f, top = 0f, width = 0f, height = 0f, zoom = 0f )) : Action

PDF action representing a change to page in another PDF document.

Constructors

Link copied to clipboard
constructor(pdfPath: String?, @IntRange(from = 0) pageIndex: Int, subActions: List<Action> = emptyList(), destination: Destination = Destination( pageIndex = pageIndex, type = DestinationType.FitPage, left = 0f, top = 0f, width = 0f, height = 0f, zoom = 0f ))

Properties

Link copied to clipboard

The destination details including position and zoom level on the target page.

Link copied to clipboard

The zero-based index of the target page in the remote document.

Link copied to clipboard

The file path to the remote PDF document, or null if not specified.

Link copied to clipboard
open override val type: ActionType

Returns type of action to make down-casting easier.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compares this go-to-remote action to the specified object for equality.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for this go-to-remote action.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of this go-to-remote action for debugging purposes.