Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NColorSpace Class / FromRGB Method
The RGB color value to convert.


In This Topic
    FromRGB Method (NColorSpace)
    In This Topic
    Converts a value from RGB color space to this color space.
    Syntax
    'Declaration
     
    
    Public MustOverride Function FromRGB( _
       ByVal color As NColorValue3F _
    ) As NColorValueF
    'Usage
     
    
    Dim instance As NColorSpace
    Dim color As NColorValue3F
    Dim value As NColorValueF
     
    value = instance.FromRGB(color)
    public abstract NColorValueF FromRGB( 
       NColorValue3F color
    )

    Parameters

    color
    The RGB color value to convert.

    Return Value

    The resulting color value.
    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