Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NRaster Class / IsSingleColor Method


In This Topic
    IsSingleColor Method
    In This Topic
    Determines whether the raster contains only one color.
    Syntax
    'Declaration
     
    
    Public Function IsSingleColor() As System.Boolean
    'Usage
     
    
    Dim instance As NRaster
    Dim value As System.Boolean
     
    value = instance.IsSingleColor()
    public System.bool IsSingleColor()

    Return Value

    Returns true if all pixels have the same 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