System::Drawing::Bitmap::GetPixel method

Bitmap::GetPixel method

Returns the color of the specified pixel.

Color System::Drawing::Bitmap::GetPixel(int x, int y)
ParameterTypeDescription
xintThe X coordinate of the pixel whose color to return
yintThe Y coordinate of the pixel whose color to return

ReturnValue

The color of the specified pixel

See Also