Method DeleteInPlace
DeleteInPlace(string, PageRange, PdfAssemblyOptions?)
Removes the selected pages from a document, replacing it.
public static PdfAssemblyResult DeleteInPlace(string path, PageRange pages, PdfAssemblyOptions? options = null)
Parameters
pathstringThe PDF to rewrite.
pagesPageRangeThe 1-based pages to remove.
optionsPdfAssemblyOptionsThe assembly settings, or null for the defaults.
Returns
- PdfAssemblyResult
What was produced, and everything that could not be carried.
Exceptions
- ArgumentNullException
pathis null.