GetPixel()

Bitmap::GetPixel(int, int) method

Returns the color of the specified pixel.

Color System::Drawing::Bitmap::GetPixel(int x, int y)

Arguments

ParameterTypeDescription
xintThe X coordinate of the pixel whose color to return
yintThe Y coordinate of the pixel whose color to return

Return Value

The color of the specified pixel

See Also