CPDFLinkAnnotation Class Reference

Inherits from CPDFAnnotation : NSObject
Declared in CPDFLinkAnnotation.h

Overview

A CPDFLinkAnnotation object represents either a hypertext link to another location in the document (specified as a CPDFDestination object) or a URL.

– destination

Gets the destination for the link when the destination was specified as a CPDFDestination object.

- (CPDFDestination *)destination

Discussion

Gets the destination for the link when the destination was specified as a CPDFDestination object.

Destination for the link. May be nil if no destination associated with link; in this case the -[URL] may be valid.

Declared In

CPDFLinkAnnotation.h

– setDestination:

- (void)setDestination:(CPDFDestination *)destination

– URL

Gets the destination for the link when the destination was specified as a URL.

- (NSString *)URL

Discussion

Gets the destination for the link when the destination was specified as a URL.

URL for the link. May be nil if no URL action associated with link; in this case the -[destination] may be valid.

Declared In

CPDFLinkAnnotation.h

– setURL:

- (void)setURL:(NSString *)url