PSPDFEmbeddedGoToAction


@interface PSPDFEmbeddedGoToAction : PSPDFGoToAction

An embedded go-to action (PDF 1.6) is similar to a remote go-to action but allows jumping to or from a PDF file that is embedded in another PDF file.

  • Initialize the embedded GoTo action with a remotePath and settings.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRelativePath:(nonnull NSString *)remotePath
                              targetRelationship:
                                  (PSPDFEmbeddedGoToActionTarget)targetRelationship
                                 openInNewWindow:(BOOL)openInNewWindow
                                       pageIndex:(NSUInteger)pageIndex;

    Swift

    init(relativePath remotePath: String, targetRelationship: PSPDFEmbeddedGoToActionTarget, openInNewWindow: Bool, pageIndex: UInt)
  • Target can either be parent or child of the current document. (T.R)

    Declaration

    Objective-C

    @property (readonly, nonatomic) PSPDFEmbeddedGoToActionTarget targetRelationship;

    Swift

    var targetRelationship: PSPDFEmbeddedGoToActionTarget { get }
  • The relative path. Only valid for PSPDFEmbeddedGoToActionTargetChildOfCurrentDocument. (T.N)

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *relativePath;

    Swift

    var relativePath: String? { get }
  • If set to YES, the embedded action will be opened modally. (/NewWindow)

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL openInNewWindow;

    Swift

    var openInNewWindow: Bool { get }