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
dThe 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
docThe document to which the annotation is added.
posA rectangle specifying the annotation’s bounds, specified in user space coordinates.
field_nameThe 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
docThe document to which the annotation is added.
posA rectangle specifying the annotation’s bounds, specified in user space coordinates.
fieldthe field for which to create a Push Button Widget.
Return Value
A newly created default Push Button Widget annotation.
PTPushButtonWidget Class Reference