| Inherits from | |
| Conforms to | |
| Framework | Library/Frameworks/Quartz.framework/Frameworks/PDFKit.framework |
| Availability | Available in Mac OS X v10.4 and later.
|
| Declared in | PDFAnnotationLink.h |
A PDFAnnotationLink object represents either a hypertext link to another location in the document (specified as a PDFDestination object) or a URL.
Gets the destination for the link when the destination was specified as a PDFDestination object.
- (PDFDestination *)destination
PDFAnnotationLink.hSets the destination for the link as a PDFDestination object.
- (void)setDestination:(PDFDestination *)destination
PDFAnnotationLink.hSets the highlighting state for the link.
- (void)setHighlighted:(BOOL)flag
For typical PDF interaction, when a user clicks (mouse-down) on a link, set highlighting to YES and redraw the link. On the subsequent mouse-up event, set highlighting to NO and redraw again.
PDFAnnotationLink.hSets the destination for the link as a URL.
- (void)setURL:(NSURL *)url
PDFAnnotationLink.hGets the destination for the link when the destination was specified as a URL.
- (NSURL *)URL
PDFAnnotationLink.h
Last updated: 2006-05-23