# BarcodeDrawingOptions.altText Property

> BarcodeDrawingOptions.altText property in the TX Sheet Control TypeScript API for the browser: Accessibility description for the drawing.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > BarcodeDrawingOptions > BarcodeDrawingOptions.altText Property
- **451 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/barcodedrawingoptions/alttext-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/barcodedrawingoptions/alttext-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/barcodedrawingoptions/alttext-property/llms-full.txt

---

Accessibility description for the drawing.

Package: `@txtextcontrol/tx-sheet-control`.

### Syntax

```typescript
altText?: string
```

### Remarks

Settings are detached snapshots. Cell values and formulas remain available beneath the symbol. Sources resolve after calculation and mail merge. See [Barcodes and QR Codes](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/barcodes/llms-full.txt) for validation, supported payloads and XLSX behavior.

### Examples

Create a barcode from application data and retain its editable workbook settings.

```typescript
import { Workbook } from '@txtextcontrol/tx-sheet-control';
import type { BarcodeDrawingOptions } from '@txtextcontrol/tx-sheet-control';

const book = new Workbook();
const sheet = book.sheets.at(0);
sheet.cell('A1').setText('001042');
const options: BarcodeDrawingOptions = {
    symbology: 'code128', source: 'A1',
    anchor: { cell: 'D4', offsetX: 8, offsetY: 8 },
    size: { width: 240, height: 100 }, name: 'Invoice barcode',
    altText: 'Invoice identifier', rotation: 0,
};
const drawing = sheet.drawings.addBarcode(options);
const snapshot = drawing.barcode;
if (snapshot) {
    drawing.updateBarcode({ ...snapshot, showText: false });
}
```

---

## Nearby

- **Previous:** [BarcodeDrawingOptions.name Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/barcodedrawingoptions/name-property/llms-full.txt)
- **Next:** [BarcodeDrawingOptions.rotation Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/barcodedrawingoptions/rotation-property/llms-full.txt)
