ComPDFKit Web SDK
    Preparing search index...

    Function setSignatureDialogProperties

    • Changes the signature dialog per tab (keyboard / trackpad): swatches, the custom color switch, fonts (keyboard only), the line width switch and default line width (trackpad only). With replace false only the given items change; with true the whole tab is replaced (missing items go back to defaults). Swatches accept { type: 'color', value } and strings; fonts accept strings and { fontFamily, label, fontWeight }.

      Parameters

      • type: "keyboard" | "trackpad"

        'keyboard' or 'trackpad'.

      • properties: SignatureDialogPropertiesArg

        The properties to set.

      • Optionalreplace: boolean

        Whether to replace the whole tab; false by default.

      Returns void

      instance.UI.setSignatureDialogProperties('trackpad', {
      colors: ['#000000', '#0d47a1'],
      enableLineWidth: true,
      lineWidth: 3,
      });