Remove PDF pages in UWP
The following example demonstrates how to use Editor.Job
to remove a set of pages:
// Make a job with a source document as its input.var editorJob = new PSPDFKit.Document.Editor.Job(sourceDocument);
// Remove the first and third pages.await editorJob.RemovePagesAsync(new int[] { 0, 2 });
// Generate a new document.var newDocumentStorageFile = await PSPDFKit.Document.Editor.Editor.NewStorageFileFromJobAsync(editorJob);