Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NRaster Class / Clear Method
All raster pixels are set to this color.


In This Topic
    Clear Method (NRaster)
    In This Topic
    Clears the raster by setting all pixels to the specified color.
    Syntax
    'Declaration
     
    
    Public Sub Clear( _
       ByVal color As NColor _
    ) 
    'Usage
     
    
    Dim instance As NRaster
    Dim color As NColor
     
    instance.Clear(color)
    public void Clear( 
       NColor color
    )

    Parameters

    color
    All raster pixels are set to this color.
    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