Returns the color at a particular point on the image.
Syntax

[C#]

XColor GetColor(int inX, int inY);
XColor GetColor(XPoint inPoint);

[Visual Basic]

Function GetColor(inX As Integer, inY As Integer) As XColor
Function GetColor(inPoint As XPoint) As XColor
Params
Name Description
inX The horizontal coordinate at which you wish to sample the image color.
inY The vertical coordinate at which you wish to sample the image color.
inPoint The point at which you wish to sample the image color.
return The color at the point.
Notes

See the Canvas GetColor function for details.

Example

None.