## Bitmap::GetPixel method


Returns the color of the specified pixel.

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


| Parameter | Type | Description |
| --- | --- | --- |
| x | int | The X coordinate of the pixel whose color to return |
| y | int | The Y coordinate of the pixel whose color to return |

### ReturnValue

The color of the specified pixel

## See Also

* Class [Color](../../color/)
* Class [Bitmap](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.TeX for C++](../../../)
