Contents

init(pageIndex:at:fileURL:)

Initializes the remote go-to action with the specified page index, point, and document URL.

Declaration

init(pageIndex: Int, at point: CGPoint, fileURL url: URL)
init(pageIndex: Int, at point: NSPoint, fileURL url: URL)

Parameters

  • pageIndex:

    The page index of the remote document.

  • point:

    The point on the page in the remote document.

  • url:

    The URL of the remote PDF document.

Return Value

An initialized PDFActionRemoteGoTo instance, or NULL if the object could not be initialized.

Discussion

The PDFActionRemoteGoTo object uses a zero-based page index, not a PDFPage object. This simplifies the handling of remote destinations for documents that may not be instantiated yet.