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!
Hi,
On using ExtractText with the out parameter, it throws an index out of range exception.
On using ExtractText without parameters, it works normally.
// use files from Test Documents in "file" variablestring file;try{PdfLoadedDocument document = new PdfLoadedDocument(new FileStream( file, FileMode.Open, FileAccess.Read));foreach (PdfLoadedPage page in document.Pages){page.ExtractText(out _);}}catch (Exception e){Console.WriteLine($"Error in extraction\n{e}");}