|120142||Sep 3,2015 08:18 PM||Sep 4,2015 05:00 AM||Windows Forms||1|
As to Find All, I would have thought the ability to use the dictionary which contains the rectangle coordinates of the words (FindText) would be something I could use by filling each rectangle with a semitransparent color. But I have not been able to get this to work. No exceptions are raised but there is no visible effect in the document. The code below jumps to the appropriate page and then "should" fill the rectangles:
Private Sub btn_LookDown_Click(sender As Object, e As EventArgs) Handles btn_LookDown.Click
srchCount += 1
pdf.GoToPageAtIndex(textSearch.Keys(srchCount) + 1)
Dim g As Graphics = pdf.CreateGraphics
Dim br As New SolidBrush(Color.FromArgb(128, 255, 0, 0))
Catch ex As Exception
Is there a way to achieve the functionality I want via the PDF namespace? I do not fully understand OCR yet (haven't had time to dig too deeply) but thought I might find an answer there. Any suggestions are appreciated.
One other item: Setting the BackColor property of the PDFViewerControl has no effect. I'd like to be able to change it so the area around the document matches the color scheme of the application.
- - AB
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.