Instance Property

toolTip

Returns text for display as a help tag.

Declaration

var toolTip: String? { get }

Return Value

A string that contains help tag content, or NULL if there is no text associated with the annotation.

Discussion

This method is equivalent to sending the message [self contents]. PDF Kit’s annotation subclasses override this behavior as appropriate. For example, a PDFAnnotationLink object displays a URL or page destination for its help tag.

See Also

Accessing Information About an Annotation

var page: PDFPage?

Returns the page that the annotation is associated with.

var modificationDate: Date?

Returns the modification date of the annotation.

var userName: String?

Returns the name of the user who created the annotation.

var popup: PDFAnnotation?

Returns the pop-up annotation associated with an annotation.

var mouseUpAction: PDFAction?

Sets the action performed when a user releases the mouse button within an annotation.

Deprecated
var type: String?

Returns the type of the annotation.

var contents: String?

Returns the textual content (if any) associated with the annotation.