Class

PDFAction

An action that is performed when, for example, a PDF annotation is activated or an outline item is clicked.

Declaration

class PDFAction : NSObject

Overview

A PDFAction object represents an action associated with a PDF element, such as an annotation or a link, that the viewer application can perform. See the Adobe PDF Specification for more about actions and action types.

PDFAction is an abstract superclass of the following concrete classes:

  • PDFActionGoTo

  • PDFActionNamed

  • PDFActionRemoteGoTo

  • PDFActionResetForm

  • PDFActionURL

Topics

Action Types

class PDFActionGoTo

PDFActionGoTo, a subclass of PDFAction, defines methods for getting and setting the destination of a go-to action.

class PDFActionNamed

PDFActionNamed defines methods used to work with actions in PDF documents, some of which are named in the Adobe PDF Specification.

class PDFActionRemoteGoTo

PDFActionRemoteGoTo, a subclass of PDFAction, defines methods for getting and setting the destination of a go-to action that targets another document.

class PDFActionResetForm

PDFActionResetForm, a subclass of PDFAction, defines methods for getting and clearing fields in a PDF form.

class PDFActionURL

PDFActionURL, a subclass of PDFAction, defines methods for getting and setting the URL associated with a URL action.

Getting the Action Type

var type: String

Returns the type of the action.

Relationships

Inherits From

See Also

Annotations

Adding Widgets to a PDF Document

Add text, button, and choice widgets to a PDF document.

Adding Custom Graphics to a PDF

Create and add custom annotation and page graphics to your PDF document.

Custom Graphics

Demonstrates adding a watermark to a PDF page.

PDF Widgets

Demonstrates adding widgets—interactive form elements—to a PDF document.

class PDFAnnotation

An annotation in a PDF document.

class PDFDestination

A PDFDestination object describes a point on a PDF page.

class PDFBorder

An optional border for an annotation, drawn completely within the annotation rectangle.

Deprecated Annotations

These symbols are deprecated and should no longer be used.