Nevron Open Vision Documentation
Nevron.Nov.Diagram.Themes Namespace / NStaticThemeColor Class / ToColor Method
Not used for static theme colors.


In This Topic
    ToColor Method (NStaticThemeColor)
    In This Topic
    Converts this theme color to an NColor instance.
    Syntax
    'Declaration
     
    
    Public Overrides Function ToColor( _
       ByVal styleableElement As INStyleableElement _
    ) As NColor
    'Usage
     
    
    Dim instance As NStaticThemeColor
    Dim styleableElement As INStyleableElement
    Dim value As NColor
     
    value = instance.ToColor(styleableElement)
    public override NColor ToColor( 
       INStyleableElement styleableElement
    )

    Parameters

    styleableElement
    Not used for static theme colors.

    Return Value

    The color equivalent of this theme color or NColor.Empty if a color equivalent couldn't be determined.
    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