# DrawingHandle.snapshot Property

> DrawingHandle.snapshot property in the TX Sheet Control JavaScript API for Node.js, with its type WorksheetDrawing and a JavaScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > JavaScript API > Node.js Server > DrawingHandle > DrawingHandle.snapshot Property
- **467 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/drawinghandle/snapshot-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/drawinghandle/snapshot-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/drawinghandle/snapshot-property/llms-full.txt

---

The snapshot value of DrawingHandle.

Owner: [DrawingHandle](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/drawinghandle/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

### Syntax

```typescript
readonly snapshot: WorksheetDrawing
```

Read through the owning object: `owner.snapshot`. Follow the declared mutability and owning object lifetime.

### Examples

Use a fresh sample workbook for this example. In the browser pass editor.workbook; in Node.js pass the server control. Document-bound objects are obtained from that same owner.

```javascript
function readReportDrawingHandleSnapshot(control) {
    const book = control.workbook;
    const drawing = book.sheets.at(0).drawings.addShape({
        type: 'rectangle',
        name: 'Invoice heading',
        anchor: { cell: 'F2' },
        size: { width: 240, height: 80 },
    });

    const value = drawing['snapshot'];
    return ['DrawingHandle.snapshot', value];
}
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [DrawingHandle Class](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/drawinghandle/llms-full.txt)
- [Pictures and Shapes](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/pictures-shapes/llms-full.txt)
- [WorksheetDrawing Type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/worksheetdrawing/llms-full.txt)

---

## Nearby

- **Previous:** [DrawingHandle.size Property](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/drawinghandle/size-property/llms-full.txt)
- **Next:** [DrawingHandle.update Method](https://docs.textcontrol.com/tx-sheet-control/reference/javascript-api/nodejs/drawinghandle/update-method/llms-full.txt)
