Welcome to the ASP.NET Core feedback portal. We’re happy you’re here! If you have feedback on how to improve the ASP.NET Core, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Greetings,
We are using the DocIO component for converting DOCX to PDF, and we are having issues with versions up from 19.3.0.48 Syncfusion.DocIORenderer.Net.Core
Our code for the conversion is the following:
using DocIORenderer converter = new DocIORenderer();
using MemoryStream docxMemoryStream = new MemoryStream(File.ReadAllBytes(pathToDocxFile));
using WordDocument wordDocument = new WordDocument(docxMemoryStream, FormatType.Docx);
using PdfDocumnet pdfDocument = converter.ConvertToPDF(wordDocument);
using MemoryStream pdfMemoryStream = new MemoryStream();
pdfDocument.Save(pdfMemoryStream);