PSPDFSignatureAppearance


@interface PSPDFSignatureAppearance
    : PSPDFBaseConfiguration <PSPDFSignatureAppearanceBuilder *>

This class configures the appearance that a PSPDFSignatureElement will have in a document when signed.

By default, a digital signature form element will show information from the signing certificate, like the signer’s name, the date when the document was signed, and so on. Use a PSPDFSignatureAppearance instance when you want to configure further how this information is presented to the user.

  • The appearance style that is configured (signature and description or description only). Defaults to PSPDFSignatureAppearanceModeSignatureAndDescription.

    Declaration

    Objective-C

    @property (readonly, nonatomic) PSPDFSignatureAppearanceMode appearanceMode;

    Swift

    var appearanceMode: PSPDFSignatureAppearanceMode { get }
  • Whether to show or not the person who signed the PSPDFSignatureElement. Defaults to YES.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL showSignerName;

    Swift

    var showSignerName: Bool { get }
  • Whether to show or not the date when the document was signed. Defaults to YES.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL showSigningDate;

    Swift

    var showSigningDate: Bool { get }
  • Whether to show or not the reason why the document was signed (ie. Contract agreement). Defaults to NO.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL showSignatureReason;

    Swift

    var showSignatureReason: Bool { get }
  • Whether to show or not the place where the document was signed. Defaults to NO.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL showSignatureLocation;

    Swift

    var showSignatureLocation: Bool { get }
  • The signature graphic to show on the left part of a signature when mode is PSPDFSignatureAppearanceModeSignatureAndDescription. Defaults to nil.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable)
        PSPDFAnnotationAppearanceStream *signatureGraphic;

    Swift

    var signatureGraphic: PSPDFAnnotationAppearanceStream? { get }
  • Configures whether the existing signature appearance is kept after the document is signed. Defaults to YES.

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL reuseExistingAppearance;

    Swift

    var reuseExistingAppearance: Bool { get }