Welcome to the WinForms feedback portal. We’re happy you’re here! If you have feedback on how to improve the WinForms, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
My test program:
using System; using Syncfusion.Pdf; using Syncfusion.Pdf.Parsing; namespace syncfusion { class Program { static void Main() { string extractedTexts; using (PdfLoadedDocument loadedDocument = new PdfLoadedDocument(@"d:\test\test.pdf")) { PdfPageBase page = loadedDocument.Pages[0]; extractedTexts = page.ExtractText(true); loadedDocument.Close(true); } Console.WriteLine(extractedTexts); Console.ReadKey(); } } }
Result using NuGet version 17.1.0.53:
Result using installed version 17.2.0.41:
Screenshot of my PDF file:
How could I get the text with correctly spaced words?