Mac OS X Reference Library Apple Developer Connection spyglass button

PDFActionURL 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
PDFActionURL.h
Related sample code

Overview

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

Tasks

Initializing a URL Action

Accessing and Changing the URL

Instance Methods

initWithURL:

Initializes a URL action with the specified URL.

- (id)initWithURL:(NSURL *)url

Parameters
url

The URL to set the action to.

Return Value

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

Availability
  • Available in Mac OS X v10.5 and later.
Declared In
PDFActionURL.h

setURL:

Sets the URL associated with the URL action.

- (void)setURL:(NSURL *)url

Parameters
url

The URL to set the action to.

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

URL

Returns the URL associated with the URL action.

- (NSURL *)URL

Return Value

The URL associated with the action, or NULL if no URL is specified.

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


Last updated: 2007-12-11

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