Class
PDFAnnotationChoiceWidget
A PDFAnnotationChoiceWidget
object provides user interactivity on a page of a PDF document, in the form of pop-up menus and lists.
SDK
- macOS 10.4–10.12Deprecated
Overview
PDFAnnotationChoiceWidget
inherits general annotation behavior from the PDFAnnotation
class. If you use a PDFAnnotationChoiceWidget
object, your application must handle hit testing, unless you are simply using PDFView
to display content. This is because PDFView
automatically handles hit testing for you.
Topics
Getting and Setting the String Value
Managing Font and Background Color Characteristics
Managing the Associated Field Name
Determining the Type of Choice Widget Annotation
Accessing the Items in the Choice Widget Annotation
func choices() -> [Any]!
Returns an array of strings that represent the items available in the list or pop-up menu of the choice widget annotation.
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.
Deprecatedclass PDFAnnotationMarkup
A PDFAnnotationMarkup
object appears as highlighting, underlining, or a strikethrough style applied to the text of a document.
Deprecatedclass PDFAnnotationPopup
A PDFAnnotationPopup
object provides user interactivity on a PDF page in the form of a pop-up menu.
Deprecatedclass PDFAnnotationStamp
A PDFAnnotationStamp
object allows you to display a word or phrase, such as “Confidential,“ in a PDF page.
Deprecatedclass PDFAnnotationText
A PDFAnnotationText
object displays as an icon (such as a “sticky note”) attached to a specified point in the PDF document.
Deprecated