Class

PDFAction

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

Declaration

@interface 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

PDFActionGoTo

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

PDFActionNamed

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

PDFActionRemoteGoTo

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

PDFActionResetForm

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

PDFActionURL

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

Getting the Action Type

type

Returns the type of the action.

Relationships

Inherits From

Conforms To

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.

PDFAnnotation

An annotation in a PDF document.

PDFDestination

A PDFDestination object describes a point on a PDF page.

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.