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!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

2
Votes

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);


The attached document named 'LocalConversion.pdf' shows the result from the conversion in our local machines, and the document named 'ConversionOfAzureService.pdf' is the result from the conversion on our azure. We've also attached the original. DOCX, in this case is of any help.