Get started in minutes with our simple three-step process to remove PDF pages using our .NET plugin.
Add the GroupDocs.Merger.LowCode package to your project using the .NET CLI.
dotnet add package GroupDocs.Merger.LowCode
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 app—the PDF without the removed pages is saved to the output folder.
One-time $99 license per plugin—perpetual, royalty-free, no subscriptions or hidden fees.
Access essential documentation, API references, code samples, and support options to master our Document Merger Plugins.
Quick answers to frequently asked questions about licensing, trials, downloads, and more.
Check our other plugins provided by the GroupDocs.Merger.LowCode package
Combine several PDF documents into one, in the order you choose.
Combine Word (DOCX) documents into one document.
Combine PowerPoint (PPTX) presentations into one deck.
Split a PDF into single pages, page ranges, or parts at the pages you choose.
Split a Word (DOCX) document into separate documents by page.
Split a PowerPoint (PPTX) presentation into separate decks or single slides.