Skip to content
Guides

Delete Pages

This example shows how to delete pages:

C#
List<int> pageNumbersToRemove = new List<int>(){1};

// Delete the first page of the document.
document.RemovePages(pageNumbersToRemove.ToArray());