Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NRaster Class / SetPixel Method
X coordinate of the target pixel.
Y coordinate of the target pixel.
The color to be set.


In This Topic
    SetPixel Method
    In This Topic
    Sets the color of the pixel at the specified coordinates.
    Syntax
    'Declaration
     
    
    Public Sub SetPixel( _
       ByVal x As System.Integer, _
       ByVal y As System.Integer, _
       ByVal color As NColor _
    ) 
    'Usage
     
    
    Dim instance As NRaster
    Dim x As System.Integer
    Dim y As System.Integer
    Dim color As NColor
     
    instance.SetPixel(x, y, color)
    public void SetPixel( 
       System.int x,
       System.int y,
       NColor color
    )

    Parameters

    x
    X coordinate of the target pixel.
    y
    Y coordinate of the target pixel.
    color
    The color to be set.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, 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)

    See Also