PTPushButtonWidget
@interface PTPushButtonWidget : PTWidget
An object representing a push button used in a PDF Form.
-
Creates a Push Button Widget annotation and initialize it using given Cos/SDF object.
Note: The constructor does not copy any data, but is instead the logical equivalent of a type cast.
Parameters
d
The object to use to initialize the PushButtonWidget
-
Undocumented
Declaration
Objective-C
- (instancetype)init;
Swift
init!()
-
Creates a new Push Button Widget annotation, in the specified document.
Declaration
Parameters
doc
The document to which the annotation is added.
pos
A rectangle specifying the annotation’s bounds, specified in user space coordinates.
field_name
The name of the field for which to create a PushButton widget.
Return Value
A newly created default Push Button Widget annotation.
-
Creates a new Widget annotation, in the specified document.
Declaration
Parameters
doc
The document to which the annotation is added.
pos
A rectangle specifying the annotation’s bounds, specified in user space coordinates.
field
the field for which to create a Push Button Widget.
Return Value
A newly created default Push Button Widget annotation.