Class

PDFAnnotationText

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

Declaration

@interface PDFAnnotationText : PDFAnnotation

Overview

Each PDFAnnotationText object has a PDFAnnotationPopup object associated with it. In its closed state, the annotation appears as an icon. In its open state, it displays as a pop-up window containing the text of the note. Note that your application must do the work to put up a window containing the text in response to a PDFViewAnnotationHitNotification. Currently, text annotations do not scale and rotate with the page.

Topics

Managing the Annotation’s State

- windowIsOpen

Returns a Boolean value indicating whether the annotation’s note window is open.

- setWindowIsOpen:

Sets the open/closed state of the annotation to the specified value.

Managing the Annotation Icon’s Type

- iconType

Returns the icon type for the annotation.

- setIconType:

Sets the icon type for the annotation.

Constants

PDFTextAnnotationIconType

Text annotations can use the following icon types.

Relationships

Inherits From

Conforms To

See Also

Annotation Types

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
PDFAnnotationChoiceWidget

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

Deprecated
PDFAnnotationFreeText

A PDFAnnotationFreeText object displays text on a page.

Deprecated
PDFAnnotationLine

A PDFAnnotationLine object displays a single line on a page.

Deprecated
PDFAnnotationMarkup

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

Deprecated
PDFAnnotationPopup

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

Deprecated
PDFAnnotationStamp

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

Deprecated
PDFAnnotationTextWidget

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

Deprecated