Rotation reference
Clockwise rotation in degrees, relative to the page's natural orientation.
Used by
Import
import type { Rotation } from '@kingtech/react-pdf-viewer';Signature: type Rotation = 0 | 90 | 180 | 270
Properties
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
0 | 0 | — | No | Upright (the page's natural orientation). |
90 | 90 | — | No | A quarter turn clockwise. |
180 | 180 | — | No | Upside down. |
270 | 270 | — | No | A quarter turn counter-clockwise. |
Source
packages/react-pdf-viewer/src/types.ts
Generated from content/react-pdf-viewer/reference/rotation.schema.json. Do not edit by hand.