For upgrade pricing go to with your old registration ID number and Key. Please be aware if you purchased more than 6 months ago you may need to purchase an upgrade to use the current version. but I think will be better to convert Color.White to int using () and replace SetPixel () argument by Color.Black because Color.White - Color.White will be Color.Black. Return value: The return value is the COLORREF value that specifies the RGB of the pixel. And I succeeded using getPixel(x,y) for getting the color, but on another spot I am not getting the color of the pixel where I touched I am getting the color of a different pixel. b: The y-coordinate, in logical units, of the pixel is to be examined. I am trying to get the color of the spot where I touched on an ImageView. For example, Monitor) a: The x-coordinate, in logical units, of the pixel is to be examined. To find out what version of the software you are currently using, click Help on the menu bar at the top of the program's window (not the Help button on the toolbar), and then click "About PhotoPad Image Editor". To convert int to Color you can do something like this: new Color (mPlan.GetPixel (x, y)) Color.White. hdc: handle to a device context (device at which the pixels are to be read.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |