Page 1 of 1

How to search the value from textbox in docuvieware

Posted: Tue Feb 07, 2023 6:33 am
by senthil205
Hi sir, 

i use the following code

If GdViewer1.DisplayFromFile("") = GdPictureStatus.OK Then
Dim text_to_find As String = "GdPicture"
GdViewer1.RemoveAllRegions()
Dim text_found As Boolean = GdViewer1.SearchText(text_to_find, 0, True)
If GdViewer1.GetStat() = GdPictureStatus.OK Then
If text_found Then
GdViewer1.Redraw()

Else

End If
Else

End If
Else

End If

i goto error in "GdViewer1" variable declearation

2 method below:

I try the code for search using "GdPictureOCR " that give in sample that one store the status in different file like text file,

i need that the search the value in same viewer not separate as we have default search in viewer

Re: How to search the value from textbox in docuvieware

Posted: Fri Apr 07, 2023 1:11 pm
by Fabio
Hello,

GdViewer is the desktop viewer component of GdPicture, it will not work in a web browser.
You need to use the javascript method of DocuVieware in order to search text in the loaded document: https://www.gdpicture.com/guides/docuvi ... earch.html

Let me know if you need more information.

Best regards,
Fabio