PSPDFGoToAction
Objective-C
@interface PSPDFGoToAction : PSPDFAction
Swift
class GoToAction : Action
Defines the action of going to a specific location within the PDF document.
-
Initializer with the page index.
Declaration
Objective-C
- (nonnull instancetype)initWithPageIndex:(PSPDFPageIndex)pageIndex;
Swift
init(pageIndex: PageIndex)
-
Set to
NSNotFound
if not valid.Declaration
Objective-C
@property (nonatomic, readonly) PSPDFPageIndex pageIndex;
Swift
var pageIndex: PageIndex { get }