Rotation
Rotate pages in 90° increments — current page or all pages, clockwise or counter-clockwise.
Page Rotation
Rotation is available in 90° increments:
- Rotate Page Left – Rotate current page counter-clockwise
- Rotate Page Right – Rotate current page clockwise
- Rotate All Left – Rotate all pages counter-clockwise
- Rotate All Right – Rotate all pages clockwise
Rotations are temporary (not persisted in the PDF unless exported with annotations).
Prop
Type
Implementation
import { PDFAtelier } from '@innosoft/pdf-atelier-react';
export default function RotationExample() {
return (
<PDFAtelier
src="/document.pdf"
license="My License"
showRotate={true}
/>
);
}import { Component } from '@angular/core';
import { PdfAtelierWrapper } from '@innosoft/pdf-atelier-angular';
@Component({
standalone: true,
selector: 'app-rotation',
imports: [PdfAtelierWrapper],
template: `
<pdf-atelier-wrapper
[src]="'/document.pdf'"
[license]="'My License'"
[showRotate]="true"
></pdf-atelier-wrapper>
`,
})
export class RotationComponent {}<script setup lang="ts">
import PdfAtelierWrapper from '@innosoft/pdf-atelier-vue';
</script>
<template>
<PdfAtelierWrapper
:src="'/document.pdf'"
:license="'My License'"
:showRotate="true"
/>
</template>