Mac OS X Reference Library Apple Developer Connection spyglass button

PDFActionGoTo Class Reference

Inherits from
Conforms to
Framework
Library/Frameworks/Quartz.framework/Frameworks/PDFKit.framework
Availability
Available in Mac OS X v10.5 and later.
Declared in
PDFActionGoTo.h
Related sample code

Overview

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

A PDFActionGoTo object represents the action of going to a specific location within the PDF document.

Tasks

Accessing the Destination

Initializing the Action

Instance Methods

destination

Returns the destination associated with the action.

- (PDFDestination *)destination

Return Value

The destination specified by the go-to action.

Availability
  • Available in Mac OS X v10.5 and later.
See Also
Declared In
PDFActionGoTo.h

initWithDestination

Initializes the go-to action.

- (id)initWithDestination:(PDFDestination *) destination;

Parameters
destination

The destination with which to initialize the go-to action.

Return Value

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

Availability
  • Available in Mac OS X v10.5 and later.

setDestination

Sets the destination of the go-to action.

- (void)setDestination:(PDFDestination *)destination

Parameters
destination

The destination of the go-to action.

Availability
  • Available in Mac OS X v10.5 and later.
See Also


Last updated: 2007-12-11

Did this document help you? Yes It's good, but... Not helpful...