Skip to content
React PDF Viewer

Search

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

NameTypeDefaultRequiredDescription
00—NoUpright (the page's natural orientation).
9090—NoA quarter turn clockwise.
180180—NoUpside down.
270270—NoA 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.