GoToAction

Overview

GoToAction is a type in Aspose.PDF FOSS for Go.

GoToAction navigates to a page within the same document.

This type provides 5 methods for working with GoToAction objects in Go programs. Available methods include: ActionType, PageNum, SetPageNum, SetTop, Top. All public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.

Methods

SignatureDescription
ActionType()ActionTypeReturns the action type.
PageNum()intPageNum returns the 1-based destination page number.
Top()float64Top returns the y-coordinate of the destination view.
SetPageNum(n: int)SetPageNum updates the destination page number (1-based).
SetTop(t: float64)SetTop updates the y-coordinate of the destination view.

See Also