Split PDF in C# for free with .NET Core and iText.Kernel.Pdf
23 November, 2021
0 Comments
1 category
using iText.Kernel.Pdf; namespace RvvFacturatie.Services { public class PdfService { public void Split(string filePath, string outputFolderPath) { // Make sure the output folder exists and is empty. if (Directory.Exists(filePath)) { Directory.Delete(filePath, true); } Directory.CreateDirectory(outputFolderPath); using (var