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
| Signature | Description |
|---|---|
ActionType() → ActionType | Returns the action type. |
PageNum() → int | PageNum returns the 1-based destination page number. |
Top() → float64 | Top 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. |