Remove PDF Pages .NET Plugin

Delete specific pages, page ranges, or odd and even pages from a PDF document with a few lines of .NET code.

Quick Start

Get started in minutes with our simple three-step process to remove PDF pages using our .NET plugin.

Install the Package

Add the GroupDocs.Merger.LowCode package to your project using the .NET CLI.

dotnet add package GroupDocs.Merger.LowCode

Copy & Paste the Code

Set up the license, create the RemovePagesPdf plugin, and save the result.

using GroupDocs.Merger.Domain.Options;
using GroupDocs.Merger.LowCode;

// Set your license
License.Set("GroupDocs.Merger.LowCode.lic");

// Select pages 2 and 4 to remove
var remover = new RemovePagesPdf("source.pdf", new RemoveOptions(new[] { 2, 4 }));

// Save the remaining pages
remover.Save("output/trimmed.pdf");
open GroupDocs.Merger.Domain.Options
open GroupDocs.Merger.LowCode

// Set your license
License.Set("GroupDocs.Merger.LowCode.lic")

// Select pages 2 and 4 to remove
let remover = RemovePagesPdf("source.pdf", RemoveOptions([| 2; 4 |]))

// Save the remaining pages
remover.Save("output/trimmed.pdf")
Imports GroupDocs.Merger.Domain.Options
Imports GroupDocs.Merger.LowCode

' Set your license
License.Set("GroupDocs.Merger.LowCode.lic")

' Select pages 2 and 4 to remove
Dim remover As New RemovePagesPdf("source.pdf", New RemoveOptions({2, 4}))

' Save the remaining pages
remover.Save("output/trimmed.pdf")

Run Your Application

Run your app—the PDF without the removed pages is saved to the output folder.

About the Document Merger Plugins

Built on our enterprise-grade GroupDocs.Merger SDK, these document merger plugins merge, split, and remove pages in PDF, Word (DOCX), and PowerPoint (PPTX) documents. This cross-platform package runs on Windows, macOS, and Linux under .NET 6+. It offers a lightweight footprint for server or desktop apps. At just $99 per plugin, you get a fixed-price, single-purpose tool (e.g., Merge PDF) that minimizes setup and licensing complexity—perfect for developers who need a simple, focused solution.
Learn more
About Document Merger Plugins

Ready to Get Started?

One-time $99 license per plugin—perpetual, royalty-free, no subscriptions or hidden fees.

Developer Resources

Access essential documentation, API references, code samples, and support options to master our Document Merger Plugins.

Common Questions and Concerns

Quick answers to frequently asked questions about licensing, trials, downloads, and more.

  • Can I evaluate GroupDocs products before buying?
    Yes! You can download and try any merger plugin in evaluation mode—trial limitations apply (e.g., evaluation messages and a three-page limit). For full‑feature testing without restrictions, request a free temporary license before purchasing.
  • Where can I download the package with merger plugins?
    You can download or install the GroupDocs.Merger.LowCode package via NuGet.
  • How does licensing work for developers?
    Licenses are issued per developer, not per user or machine, so your team can change without requiring license updates.
  • What does the $99 license include?
    A one‑time $99 purchase grants a perpetual developer license for a single plugin of our Document Merger Plugins, such as Remove PDF Pages. Each plugin is licensed separately. There are no subscriptions or hidden fees.
  • Does the plugin work with other document formats?
    Each plugin works with one format: RemovePagesPdf accepts PDF documents only. To merge, split, or remove pages in other formats, or to combine documents of different formats, use the full GroupDocs.Merger for .NET SDK.