Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Determine color of a pixel within an image?
I'm trying to determine the color of a pixel that the user has clicked on within an image on a form. The form's Point() method returns the color of a specified point on the form itself, but returns -1 if you click on an image control that is sitting on the form. There doesn't seem to be a Point() method for the Image class -- is there some other way to determine the color of a specified pixel on an image?
TIA,
Doug
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement