How to search the value from textbox in docuvieware
Posted: 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
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