Environment.GetPixel Method
Gets the color of the specified pixel in this viewport
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
x
-
int
The x window coordinate of the pixel to retrieve
-
y
-
int
The y window coordinate of the pixel to retrieve (0 on bottom)
Return Value
Color
The color of the pixel
.NET Framework
Supported in: 4.5, 4.6, 4.7