Jump to content

imagesearch using VB.NET


Recommended Posts

I am trying to make image search program using VB.Net with autoit imagesearch.dll. 

I am trying to add tolerance value and transparency value. 

I know how to add tolerance value and transparency value in autohotkey or autoit, but I don't know how to add tolerance and transparency value on VB.Net

Here is examples:

autoit code:

$result=_ImageSearch($findImage[$i],$resultPosition,$x, $y,$tolerance,$transparency)
 
autohotkey code:
ImageSearch, reX, reY, 440,90,530,340,*transBlack *50 %A_Temp%\pathnclear.bmp ;
 
vb.net code (without tolerance, transparency value):
Dim Temp As IntPtr = ImageSearch(0, 0, Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, patch + "\images\" + filePatch)
 
can someone teach me how to add tolerance and transparency value????
 
Please.
 
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...