hi, we use the following code to extract text from a pdf file.
How to extract text only from a pages range ?
Do we have to set a loop into the pdf pages ?
is there a mean to speed the process up ?
thanks in advance.
// Create TextAbsorber object to extract text
TextAbsorber textAbsorber = new TextAbsorber();
textAbsorber.ExtractionOptions.FormattingMode = TextExtractionOptions.TextFormattingMode.MemorySaving;
// Accept the absorber for all the pages
pdfDocument.Pages.Accept(textAbsorber);
// Get the extracted text
string extractedText = textAbsorber.Text;