The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
//Create a new PDF document. PdfDocument doc = new PdfDocument(); //doc.PageSettings.Orientation = PdfPageOrientation.Landscape;
// Merges PDFDocument. PdfDocument.Merge(doc, alleDateien.ToArray()); // Exceptions occurs here
//Save the document. // diese wird mit dem Namen "!..." abgespeichert doc.Save(Path.Combine(Initialise.Pfad_DownHere_OCR_Base, dateiName)); EntryPoint.CustomWriteLine("PDF: Schreibe Datei => " + dateiName);
//Close the document. doc.Close(true);
When I try to merge a pdf-file(The link will be valid for 7 days: https://send.firefox.com/download/01a1d82635503c39/#NKAtGzDoE4ekS8snYyKzsQ), I get an error :"Exception thrown: 'System.NullReferenceException' in Syncfusion.Pdf.Base.dll"
AVAbirami Varadharajan Syncfusion Team April 1, 2019 12:43 PM UTC
Hi Kevin,
We are unable to reproduce the issue with the shared information. We request you to share the complete stack trace information to validate further on this. Also the shared file link is expired. So, it will be helpful if you share the valid link.
Regards,
Abirami
Need More Help?
Get personalized assistance from our support team.