# WorksheetDrawing Type

> WorksheetDrawing type alias in the TX Sheet Control TypeScript API for the browser, with its syntax and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > WorksheetDrawing Type
- **273 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/worksheetdrawing/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/worksheetdrawing/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/worksheetdrawing/llms-full.txt

---

Public type for WorksheetDrawing.

Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

Type-only declaration; it is not a JavaScript runtime constructor.

### Syntax

```typescript
type WorksheetDrawing = PictureDrawing | ShapeDrawing;
```

### Examples

Pass the WorksheetDrawing value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

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

function inspectWorksheetDrawing(worksheetDrawing: WorksheetDrawing) {
    const value = worksheetDrawing;
    console.log('WorksheetDrawing.value', value);
}
```

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Pictures and Shapes](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/pictures-shapes/llms-full.txt)

---

## Nearby

- **Previous:** [WorksheetDocument.workbookId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/worksheetdocument/workbookid-property/llms-full.txt)
- **Next:** [XlsxExportOptions Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/xlsxexportoptions/llms-full.txt)
