Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NRaster Class / GetPixel Method
X coordinate of the source pixel.
Y coordinate of the source pixel.

In This Topic
    GetPixel Method
    In This Topic
    Gets the color of the pixel at the specified coordinates.
    Public Function GetPixel( _
       ByVal x As System.Integer, _
       ByVal y As System.Integer _
    ) As NColor
    Dim instance As NRaster
    Dim x As System.Integer
    Dim y As System.Integer
    Dim value As NColor
    value = instance.GetPixel(x, y)
    public NColor GetPixel( x, y


    X coordinate of the source pixel.
    Y coordinate of the source pixel.

    Return Value

    Returns the color of the specified pixel.

    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also