# SignatureSettings Class

> Configures the signature workflow of a loaded document.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Class
- **Path:** DS Server > Reference > JavaScript API - Document Viewer > SignatureSettings Class
- **949 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/llms-full.txt

---

### Description

Configures the signature workflow of a loaded document.

### Syntax

```javascript
SignatureSettings
```

### Examples

The following example demonstrates `SignatureSettings` in a practical Document Viewer workflow. This object encapsulates settings for the signatures.

```javascript
const signatureSettings = {
    showSignatureBar: true,
    ownerName: "Contoso Legal",
    signerName: "Alex Reviewer",
    signerInitials: "AR",
    uniqueId: "contract-2026-0042",
    defaultSignatureFont: { family: "Pacifico" },
    signatureBoxes: [
        { name: "CustomerSignature", signingRequired: true, style: 0 }
    ]
};
console.log("Signature settings:", signatureSettings);
```

---

## In This Section

- [Javascript: SignatureSettings.customSignatureData Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/customsignaturedata-property/llms-full.txt): Optional. Application-defined data passed to the signing workflow.
- [Javascript: SignatureSettings.customSigning Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/customsigning-property/llms-full.txt): Optional. Whether the application's custom signing workflow is active.
- [Javascript: SignatureSettings.defaultSignatureFont Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/defaultsignaturefont-property/llms-full.txt): Optional. Default font for text-based signatures.
- [Javascript: SignatureSettings.ownerName Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/ownername-property/llms-full.txt): Optional. Document owner name used by the signing workflow.
- [Javascript: SignatureSettings.redirectUrlAfterSignature Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/redirecturlaftersignature-property/llms-full.txt): Optional. URL to open after a server-side signing operation completes.
- [Javascript: SignatureSettings.showSignatureBar Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/showsignaturebar-property/llms-full.txt): Optional. Whether the signature bar is visible.
- [Javascript: SignatureSettings.signatureBoxes Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/signatureboxes-property/llms-full.txt): Optional. Signature-box names or specifications used to identify and configure signature boxes.
- [Javascript: SignatureSettings.signatureBoxName Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/signatureboxname-property/llms-full.txt): Optional. Name of the signature box to process when more than one is available.
- [Javascript: SignatureSettings.signDateFormat Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/signdateformat-property/llms-full.txt): Optional. Format used for signature dates sent to the signing workflow.
- [Javascript: SignatureSettings.signerInitials Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/signerinitials-property/llms-full.txt): Optional. Initial signer initials shown in the signing dialog.
- [Javascript: SignatureSettings.signerName Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/signername-property/llms-full.txt): Optional. Initial signer name shown in the signing dialog.
- [Javascript: SignatureSettings.uniqueId Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/uniqueid-property/llms-full.txt): Optional. Application-defined identifier sent with the signing request.

---

## Nearby

- **Previous:** [Javascript: Signatures.submit Method](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signatures/submit-method/llms-full.txt)
- **Next:** [Javascript: SignatureSettings.customSignatureData Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/signaturesettings/customsignaturedata-property/llms-full.txt)
