Nevron Open Vision Documentation
Nevron.Nov.Diagram.Themes Namespace / NDrawingTheme Class / TryGetTheme Method


In This Topic
    TryGetTheme Method (NDrawingTheme)
    In This Topic
    Tries to get the theme with the given theme id and returns true on success.
    Syntax
    'Declaration
     
    
    Public Shared Function TryGetTheme( _
       ByVal themeId As System.Integer, _
       ByRef theme As NDrawingTheme _
    ) As System.Boolean
    'Usage
     
    
    Dim themeId As System.Integer
    Dim theme As NDrawingTheme
    Dim value As System.Boolean
     
    value = NDrawingTheme.TryGetTheme(themeId, theme)
    public static System.bool TryGetTheme( 
       System.int themeId,
       out NDrawingTheme theme
    )

    Parameters

    themeId
    theme
    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