Hi,
It's posible any example for search text in multiple pages in pdf such as acrobat reader?
Thanks a lot,
Shearch text on multiples pages
Re: Shearch text on multiples pages
Hi,
The overloaded PdfSearchText methods can help you.
I give you a short sample to find all the occurrences of a word on a specific page:
Best regards,
Loïc
The overloaded PdfSearchText methods can help you.
I give you a short sample to find all the occurrences of a word on a specific page:
Code: Select all
Dim PageNo As Integer = 2 'For searching page 2
Dim Occurence As Integer = 1 ' occurence to search for
Dim Left, Top, Width, Height As Single 'coordinates of the text searched
Dim OccurencesCount as Integer = 0
Do While GdViewer1.PdfSearchText(PageNo, "mytest", Occurence, False, Left, Top, Width, Height)
OccurencesCount =+ 1;
'Do something...
Loop
Loïc
Who is online
Users browsing this forum: No registered users and 2 guests