# PDFViewer.zoomIn()

```ts
zoomIn(): void
```

One step, as the toolbar's buttons and ⌘/Ctrl + do: to the next preset of [navigation.zoomPresets](https://kernstra.com/docs/web-sdk/config/navigation/zoompresets) above the current scale, then by steps up to [navigation.maxZoom](https://kernstra.com/docs/web-sdk/config/navigation/maxzoom). Leaves a fit mode.

- Kind: method
- Since: 1.0.0

Returns `void`

Throws:

- `INVALID_STATE` after `destroy()`.

Part of [PDFViewer](https://kernstra.com/docs/web-sdk/api/pdfviewer) in the Kernstra Web SDK 1.0.0 API reference.

Web page: https://kernstra.com/docs/web-sdk/api/pdfviewer/zoomin
