| Inherits from | |
| Conforms to | |
| Framework | Library/Frameworks/Quartz.framework/Frameworks/PDFKit.framework |
| Availability | Available in Mac OS X v10.4 and later.
|
| Declared in | PDFAnnotationText.h |
A PDFAnnotationText object displays as an icon (such as a “sticky note”) attached to a specified point in the PDF document.
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.
Returns the icon type for the annotation.
- (PDFTextAnnotationIconType)iconType
The icon type of the annotation. See “Constants” for a list of possible return values.
PDFAnnotationText.hSets the icon type for the annotation.
- (void)setIconType:(PDFTextAnnotationIconType)type
The icon type for the annotation. See “Constants” for a list of the available icon types.
PDFAnnotationText.hSets the open/closed state of the annotation to the specified value. (Deprecated. Call setIsOpen: on the annotation’s pop-up instead.)
- (void)setWindowIsOpen:(BOOL)isOpen
This method does not actually open or close the annotation. Use it to record annotation state.
PDFAnnotationText.hReturns a Boolean value indicating whether the annotation’s note window is open. (Deprecated. Call isOpen on the annotation’s pop-up instead.)
- (BOOL)windowIsOpen
PDFAnnotationText.hText annotations can use the following icon types:
Last updated: 2007-12-11