Rotate PDF pages in UWP
Pages can be rotated in 90-degree intervals, either clockwise or counterclockwise, by using an Editor.Job
:
// Make a job with a source document as its input.var editorJob = new PSPDFKit.Document.Editor.Job(sourceDocument);
// Rotate the second page 90 degrees counterclockwise.await job.RotatePageAsync(1, Rotation.DegreesNegative90);
// Generate a new document.var newDocumentStorageFile = await PSPDFKit.Document.Editor.Editor.NewStorageFileFromJobAsync(editorJob);