GetPixel


static Color GetPixel(Handle Device,
                      int X,
                      int Y)

This function obtains the color of a pixel.

Parameters

Handle Device

The handle of the device context.

int X

The logical x-coordinate of the position of the pixel.

int Y

The logical y-coordinate of the position of the pixel.

Return

Color

The color of the pixel.

Notes

If the pixel lies outside the clipping region, an exception is thrown.

Details

Name Space IPlusPlus::Graphics
Class Gdi
Assembly IPlusPlus.WinPlus.dll