Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NColorValueF Class / GetCValue Method
Zero based index of the requested color component.


In This Topic
    GetCValue Method (NColorValueF)
    In This Topic
    Gets the value of the color component at the specified index.
    Syntax
    'Declaration
     
    
    Public MustOverride Function GetCValue( _
       ByVal c As System.Integer _
    ) As System.Single
    'Usage
     
    
    Dim instance As NColorValueF
    Dim c As System.Integer
    Dim value As System.Single
     
    value = instance.GetCValue(c)
    public abstract System.float GetCValue( 
       System.int c
    )

    Parameters

    c
    Zero based index of the requested color component.

    Return Value

    The requested color component as a floating point value in the range [0, 1].
    Requirements

    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