GoToAction

class GoToAction @JvmOverloads constructor(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 another page.

Constructors

Link copied to clipboard
constructor(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.

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 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 action.

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

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