Table of Contents

Method DeleteInPlace

Namespace
DocWright.Formats.Pdf
Assembly
DocWright.Formats.Pdf.dll

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

path string

The PDF to rewrite.

pages PageRange

The 1-based pages to remove.

options PdfAssemblyOptions

The assembly settings, or null for the defaults.

Returns

PdfAssemblyResult

What was produced, and everything that could not be carried.

Exceptions

ArgumentNullException

path is null.