PSPDFGoToAction


@interface PSPDFGoToAction : PSPDFAction

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 (readonly, nonatomic) PSPDFPageIndex pageIndex;

    Swift

    var pageIndex: PageIndex { get }