Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1012 Bytes

File metadata and controls

59 lines (40 loc) · 1012 Bytes

Home

Function name : GdipBitmapGetPixel

Group: GDI+ Bitmap - Library: gdiplus


Gets the color value of an individual pixel.


Code examples:

GDI+: Color Transparency

Declaration:

GpStatus WINGDIPAPI GdipBitmapGetPixel(
	GpBitmap* bitmap,
	INT x, INT y, ARGB *color)  

FoxPro declaration:

DECLARE INTEGER GdipBitmapGetPixel IN gdiplus;
	INTEGER gdibitmap,;
	INTEGER x,;
	INTEGER y,;
	LONG @argbcolor  

Parameters:

gdibitmap [in] Handle to a GDI bitmap.

x [in] Integer X-coordinate of pixel to get.

y [in] Integer Y-coordinate of pixel to get.

argbcolor [out] ARGB color value of the pixel.


Return value:

Returns 0 on success.


Comments:

See also: GdipBitmapSetPixel.