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.
SDK
- macOS 10.4–10.12Deprecated
Overview
PDFAnnotationButtonWidget
inherits general annotation behavior from the PDFAnnotation
class. If you use a PDFAnnotationButtonWidget
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 Control Type
Getting and Setting the Control’s State
Getting and Setting the Control’s Appearance
Getting and Setting the Control Label Font Attributes
Getting and Setting the Control Label Text
Managing Radio Button Behavior
Managing Control State Values and Form Fields
See Also
Annotation Types
class PDFAnnotationChoiceWidget
A PDFAnnotationChoiceWidget
object provides user interactivity on a page of a PDF document, in the form of pop-up menus and lists.
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