PSPDFSignatureFormElement


@interface PSPDFSignatureFormElement : PSPDFFormElement

Signature Form Element.

  • Returns YES if the signature field is digitally signed. - note: This does not mean that the signature is valid.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL isSigned;

    Swift

    var isSigned: Bool { get }
  • Signature information.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) PSPDFSignatureInfo *signatureInfo;

    Swift

    var signatureInfo: PSPDFSignatureInfo? { get }
  • Searches the document for an ink signature that overlaps the form element. - note: This can be used as a replacement for a digital signature.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable)
        PSPDFInkAnnotation *overlappingInkSignature;

    Swift

    var overlappingInkSignature: PSPDFInkAnnotation? { get }
  • Customize the arrow drawing. Used for the Sign arrow in unsigned signature form elements.

    Declaration

    Objective-C

    - (void)drawArrowWithText:(nonnull NSString *)text
                     andColor:(nonnull UIColor *)color
                    inContext:(nonnull CGContextRef)context;

    Swift

    func drawArrow(withText text: String, andColor color: UIColor, in context: CGContext)