ComPDFKit Web SDK
    Preparing search index...

    Function signSignatureWidget

    • Signs a signature field. With a signature (ink or image stamp), it is signed directly at the field's size and rotation (core SignatureWidgetAnnotation#sign, no placement flow); without one, it acts as if the user clicked the field: pick a saved signature or start creating one. Throws an Error for read-only fields; does nothing for fields already signed. With a signature given, the signature tool's signatureReady event is not triggered (the core's sign does not trigger it).

      Parameters

      • signatureWidget: unknown

        The signature widget annotation.

      • Optionalsignature: unknown

        The signature annotation to apply.

      Returns Promise<void>

      A Promise that resolves once signed.