Nevron Open Vision Documentation
Nevron.Nov.Diagram.Themes Namespace / NThemeColorPalette Class / GetVariantColor Method


In This Topic
    GetVariantColor Method
    In This Topic
    Gets the color defined by the given variant and color indexes.
    Syntax
    'Declaration
     
    
    Public Function GetVariantColor( _
       ByVal variantIndex As System.Integer, _
       ByVal colorIndex As System.Integer _
    ) As NColor
    'Usage
     
    
    Dim instance As NThemeColorPalette
    Dim variantIndex As System.Integer
    Dim colorIndex As System.Integer
    Dim value As NColor
     
    value = instance.GetVariantColor(variantIndex, colorIndex)
    public NColor GetVariantColor( 
       System.int variantIndex,
       System.int colorIndex
    )

    Parameters

    variantIndex
    colorIndex
    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