Move or rearrange PDF pages in UWP
The following example shows how to use Editor.Job
to move pages to a new location in a document. To do this, specify the pages you wish to move and the index they should be moved to:
// Make a job with a source document as its input. var editorJob = new PSPDFKit.Document.Editor.Job(sourceDocument); // Move the first two pages to page index 2. await editorJob.MovePagesAsync(new int[] { 0, 1 }, 2); // Generate a new document. var newDocumentStorageFile = await PSPDFKit.Document.Editor.Editor.NewStorageFileFromJobAsync(editorJob);