Class

PDFAnnotationLink

Declaration

class PDFAnnotationLink : PDFAnnotation

Overview

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

Topics

Working with link destinations

func destination() -> PDFDestination!

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

func setDestination(PDFDestination!)

Sets the destination for the link as a PDFDestination object.

func url() -> URL!

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

func setURL(URL!)

Sets the destination for the link as a URL.

Relationships

Inherits From

See Also

Annotation Types

class PDFAnnotationButtonWidget

A PDFAnnotationButtonWidget object provides user interactivity on a page of a PDF document. There are three types of buttons available: push button, radio button, and checkbox.

Deprecated
class PDFAnnotationChoiceWidget

A PDFAnnotationChoiceWidget object provides user interactivity on a page of a PDF document, in the form of pop-up menus and lists.

Deprecated
class PDFAnnotationFreeText

A PDFAnnotationFreeText object displays text on a page.

Deprecated
class PDFAnnotationLine

A PDFAnnotationLine object displays a single line on a page.

Deprecated
class PDFAnnotationMarkup

A PDFAnnotationMarkup object appears as highlighting, underlining, or a strikethrough style applied to the text of a document.

Deprecated
class PDFAnnotationPopup

A PDFAnnotationPopup object provides user interactivity on a PDF page in the form of a pop-up menu.

Deprecated
class PDFAnnotationStamp

A PDFAnnotationStamp object allows you to display a word or phrase, such as “Confidential,“ in a PDF page.

Deprecated
class PDFAnnotationText

A PDFAnnotationText object displays as an icon (such as a “sticky note”) attached to a specified point in the PDF document.

Deprecated
class PDFAnnotationTextWidget

A PDFAnnotationTextWidget object allows you to manage the appearance and content of text fields.

Deprecated