# Javascript: SignatureBox.SignatureBoxStyle Enumeration

> An enumeration of different styles for the signature box.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Enumeration
- **Path:** TX Text Control .NET Server > Reference > JavaScript API - Document Viewer > Javascript: SignatureBox.SignatureBoxStyle Enumeration
- **281 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/signaturebox-signatureboxstyle/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/signaturebox-signatureboxstyle/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/signaturebox-signatureboxstyle/enumeration/llms-full.txt

---

### Description

An enumeration of different styles for the signature box.

### Members

| Member | Description |
|---|---|
| 0 | Shows the signature within the signature box. |
| 1 | Shows the initials within the signature box. |

### Examples

The following example applies `SignatureBox.SignatureBoxStyle` in a practical Document Viewer workflow.

```javascript
const signatureSettings = {
    signatureBoxes: [
        { name: "CustomerSignature", signingRequired: true, style: 0 },
        { name: "CustomerInitials", signingRequired: true, style: 1 }
    ]
};
console.log("Signature box styles:", signatureSettings.signatureBoxes);
```

---

## Nearby

- **Previous:** [SignatureBox.SignatureBoxStyle Enumerations](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/signaturebox-signatureboxstyle/llms-full.txt)
- **Next:** [Javascript: SignatureBox.signed Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript-document-viewer/signaturebox/signed-property/llms-full.txt)
