How to search the value from textbox in docuvieware

Discussions about DocuVieware integration in GdPicture.NET.
Post Reply
senthil205
Posts: 11
Joined: Tue Feb 07, 2023 6:19 am

How to search the value from textbox in docuvieware

Post by senthil205 » Tue Feb 07, 2023 6:33 am

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

User avatar
Fabio
Posts: 173
Joined: Thu Aug 27, 2020 9:57 am

Re: How to search the value from textbox in docuvieware

Post by Fabio » Fri Apr 07, 2023 1:11 pm

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

Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 1 guest