BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Operating system: Windows 10Asp.Net Core - Framework: 2.1.1NuGetSyncfusion.DocIO.Net.Core: v16.3.0.29Syncfusion.DocIORenderer.Net.Core: v16.3.0.29I have this code[HttpPost]public IActionResult ToPdf(int id){// _reportTemplate is the attacched file (simple word 2019 file)// Loads document from stream.FileStream fileStream = new FileStream(_reportTemplate, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);var document = new WordDocument(fileStream, FormatType.Docx);//WordDocument document = new WordDocument(stream, FormatType.Automatic);// Creates a new instance of DocIORenderer class.DocIORenderer render2 = new DocIORenderer();// Converts Word document into PDF document.PdfDocument pdf = render2.ConvertToPDF(document);MemoryStream memoryStream = new MemoryStream();// Save the PDF document.pdf.Save(memoryStream);render2.Dispose();pdf.Close();document.Close();memoryStream.Position = 0;return File(memoryStream, "application/pdf", $"Report_{id}.pdf");}It render the PDF but when i select the rendered PDF text and then copy paste into notepad, it paste gibberish charters like belowEΣZĂƉƉŽƌƚŝŶŽ͗/