GetPixel Method (CompatibleDeviceContext)
In This Topic
retrieves the red, green, blue (RGB) color value of the pixel at the specified coordinates.
Syntax
'Declaration
Public Overridable Function GetPixel( _
ByVal As Point _
) As Color
public virtual Color GetPixel(
Point
)
Parameters
- point
- Specifies the coordinate, in logical units, of the pixel to be examined.
Return Value
The return value is the RGB value of the pixel. If the pixel is outside of the current clipping region, the return value is Color.Empty.
See Also