Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NColorValue4F Class / GetCValue Method
Zero based index of the requested color component. Must be 0, 1, 2 or 3 otherwise the function throws an exception.


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

    Parameters

    c
    Zero based index of the requested color component. Must be 0, 1, 2 or 3 otherwise the function throws an exception.

    Return Value

    Returns the requested color component as a floating point value in the range [0, 1].
    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