PSPDFSignatureFormField
Objective-C
@interface PSPDFSignatureFormField : PSPDFFormField
Swift
class SignatureFormField : PDFFormField
Represents a signature form field in a PDF form.
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
PSPDF_EMPTY_INIT_UNAVAILABLE
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
PSPDF_EMPTY_INIT_UNAVAILABLE
-
Inserts a new
PSPDFSignatureFormField
into the document.Note
This new form field will automatically be added to the document.
Declaration
Objective-C
+ (nullable instancetype) insertedSignatureFieldWithFullyQualifiedName: (nonnull NSString *)fullyQualifiedName documentProvider: (nonnull PSPDFDocumentProvider *) documentProvider formElement: (nonnull PSPDFFormElement *)formElement error:(NSError *_Nullable *_Nullable) error;
Swift
class func insertedSignatureField(withFullyQualifiedName fullyQualifiedName: String, documentProvider: PSPDFDocumentProvider, formElement: PSPDFFormElement) throws -> Self
Parameters
fullyQualifiedName
Each form field is identifiable using its fully qualified name. You can specify any dot separated name.
documentProvider
The document the form field gets inserted in.
formElement
One
PSPDFChoiceFormElement
that will be linked to this form field. The form elements are the visual representation of the form on the page. If the form elements aren’t yet added to the document provider, they will be added.error
The error, if any happens.
Return Value
Either an instance of
PSPDFSignatureFormField
or nil if an error occurs.