Nevron Open Vision Documentation
Nevron.Nov.Diagram.Themes Namespace / NThemeVariantColorInfo Class / GetColor Method


In This Topic
    GetColor Method (NThemeVariantColorInfo)
    In This Topic
    Gets the color from the given palette and for the specified variant.
    Syntax
    'Declaration
     
    
    Public Overrides Function GetColor( _
       ByVal palette As NThemeColorPalette, _
       ByVal variantIndex As System.Integer _
    ) As NColor
    'Usage
     
    
    Dim instance As NThemeVariantColorInfo
    Dim palette As NThemeColorPalette
    Dim variantIndex As System.Integer
    Dim value As NColor
     
    value = instance.GetColor(palette, variantIndex)
    public override NColor GetColor( 
       NThemeColorPalette palette,
       System.int variantIndex
    )

    Parameters

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