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


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

    Parameters

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