# Javascript: FootnoteCollection.setStartNumber Method

> Sets the number for the first footnote.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 32.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: FootnoteCollection.setStartNumber Method
- **326 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/footnotecollection/setstartnumber-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/footnotecollection/setstartnumber-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/footnotecollection/setstartnumber-method/llms-full.txt

---

### Description

Sets the number for the first footnote.

### Syntax

```javascript
<void> FootnoteCollection.setStartNumber(<NumberFormat> value, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])
```

### Parameters

| Parameter | Description |
|---|---|
| value | The property value. |
| callback | Optional. Is called when the operation completed. |
| errorCallback | Optional. Is called when the operation failed with an error. |

### Examples

The following example demonstrates `FootnoteCollection.setStartNumber` in a practical document-editing workflow. It sets the number for the first footnote.

```javascript
function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

TXTextControl.footnotes.setStartNumber(
    TXTextControl.NumberFormat.ArabicNumbers,
    function() {
        console.log("set start number completed.");
    },
    onTxError
);
```

---

## Nearby

- **Previous:** [Javascript: FootnoteCollection.setNumberFormat Method](https://docs.textcontrol.com/ds-server/reference/javascript/footnotecollection/setnumberformat-method/llms-full.txt)
- **Next:** [FootnoteEventArgs Object](https://docs.textcontrol.com/ds-server/reference/javascript/footnoteeventargs/llms-full.txt)
