// methods public Color GetPixel(int x, int y) { int argb; Status s = GDIPlus.GdipBitmapGetPixel(nativeObject, x, y, out argb); GDIPlus.CheckStatus(s); return(Color.FromArgb(argb)); }