Edit PDF in C#
You can modify existing PDF documents using the Docotic.Pdf library. Learn how to merge, split, compress PDFs, edit PDF page content.
Docotic.Pdf allows you to optimize, combine, split PDF documents. You can also replace text and images, fill PDF forms, reorder PDF pages, change colors.
9.5.17548-dev 14,726 passed Total NuGet downloads 4,514,921Articles
These articles explain how to edit PDF in C# and VB.NET code.
Compress PDF documents in C# and VB.NET
Optimize PDF documents in C# and VB.NET using Docotic.Pdf library. Reduce PDF size on Windows, Linux, macOS, Android, iOS, in cloud environments.Merge PDF documents in C# and VB.NET
How to merge PDF files in .NET. You need just a few lines of C# code with Docotic.Pdf library.Split PDF documents in C# and VB.NET
Describes how to split PDF documents in .NET using Docotic.Pdf library.Split and merge PDF documents in C# .NET
Merge and split PDF document in C# and VB.NET using Docotic.Pdf library.Edit and optimize PDF documents in C# .NET
Compress PDF documents in C# and VB.NET using Docotic.Pdf library. Edit existing PDF documents.
Sample code
These sample codes show different options for PDF editing in C# and VB.NET.
Merge two PDF documents
Shows how to combine PDF documentsCompress PDF document in .NET
Reduce PDF size using different optimizationsEdit PDF page content
Shows how to remove text and change colors in PDF documentsReplace image
How to replace all occurrences of the image within PDF documentRemove paths
Shows how to remove vector paths drawn on a PDF pageRemove structure information from PDF document
How to reduce PDF file size by removing structure information from itRemove pages
Shows how to remove pages from a PDF documentCopy pages
How to split PDF documentsMove pages
How to reorder pages in a PDF documentCreate XObject from page
Impose PDF pages onto larger sheetsFill existing form
Shows how to fill PDF form fields