Created
March 12, 2009 17:16
-
-
Save enebo/78179 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Wrapper for calling the ActiveX-Method with input-parameter(s). | |
* @param nX an input-parameter of type int | |
* @param nY an input-parameter of type int | |
* @return the result is of type int | |
*/ | |
public int pixelGetColor(int nX, int nY) { | |
return Dispatch.call(this, "PixelGetColor", new Variant(nX), new Variant(nY)).changeType(Variant.VariantInt).getInt(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment