Gets the color of the specified pixel.
'Declaration
Public Overridable Function GetPixel( _
ByVal As System.Integer, _
ByVal As System.Integer _
) As Color
public virtual Color GetPixel(
System.int ,
System.int
)
Parameters
- x
- X-position of the pixel.
- y
- Y-position of the pixel.
Return Value
The color of the specified pixel.
Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2