Page 1 of 1

Summarzing comments, extracting highlighted text

Posted: Wed Dec 18, 2019 12:58 pm
by hjerteblod
Hello everybody,
I followed the discussion and would like to join with a question. I have the same problem, namely that the highlighted text is not recognized. Therefore I use the codelines:

Dim Options As PDFXOCR_Funcs.PXO_Options = New PDFXOCR_Funcs.PXO_Options
Options.blacklist = ""
Options.whitelist = ""
Options.raster_dpi = m_DPI
Options.ImageFlags = PDFXOCR_Funcs.OCR_ImageProcessingFlags.OCR_Image_EdgeRefine
Options.DataPath = m_Datapath
Options.lang = m_Language
Options.RegionMode = PDFXOCR_Funcs.OCR_RegionMode.OCR_Line
Options.reserved = 0

But when I open the PDf with the PDF XChange Editor, select the text recognition, then set it to 600 dpi and high, it will be recognized well. Now the question is how do I implement this in the code. I set the m_DPI to 600 dpi. But it does not work.

I am sorry, if this is the wrong forum, but the topic fits so well.

Greets, Yvonne

[Moderator note: this topic was split from this original post.]

Re: Summarzing comments, extracting highlighted text

Posted: Wed Dec 18, 2019 2:15 pm
by Tracker Supp-Stefan
Hello Yivonne,

Yes - this would be a more appropriate topic for your question:
viewforum.php?f=42
Would you like me to separate your post from the original topic and make it a new one in the correct developer forum?

Regards,
Stefan