# FontRegistry.snapshot Method

> FontRegistry.snapshot method in the TX Sheet Control TypeScript API for the browser: Copy registered font faces. Includes the syntax and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > FontRegistry > FontRegistry.snapshot Method
- **327 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontregistry/snapshot-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontregistry/snapshot-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontregistry/snapshot-method/llms-full.txt

---

Copy registered font faces.

Owner: [FontRegistry](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontregistry/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

### Syntax

```typescript
snapshot(): FontRegistry
```

This overload has no parameters.

### Return Value

`FontRegistry`.

A detached result or a handle bound to the same worksheet.

### Examples

Pass an existing FontRegistry from the owning document. Related handles and input bytes must belong to the intended document and application; the function applies the operation and inspects its result.

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

function applyFontRegistrySnapshot(fontRegistry: FontRegistry) {
    const result = fontRegistry['snapshot']();
    console.log(result);
}
```

### 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

- [FontRegistry Class](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontregistry/llms-full.txt)
- [Font Handling](https://docs.textcontrol.com/tx-sheet-control/deployment/fonts/llms-full.txt)

---

## Nearby

- **Previous:** [FontRegistry.shape Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontregistry/shape-method/llms-full.txt)
- **Next:** [FontRegistry.alias Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fontregistry/alias-method/llms-full.txt)
