Nevron Open Vision Documentation
Nevron.Nov.Diagram.Themes Namespace / NDynamicThemeColor Class / CreateSatLum Method


In This Topic
    CreateSatLum Method
    In This Topic
    Creates a dynamic theme color with the given saturation and luminance modifier factors.
    Syntax
    'Declaration
     
    
    Public Shared Function CreateSatLum( _
       ByVal colorName As ENThemeColorName, _
       ByVal saturationModifier As System.Single, _
       ByVal luminanceModifier As System.Single _
    ) As NDynamicThemeColor
    'Usage
     
    
    Dim colorName As ENThemeColorName
    Dim saturationModifier As System.Single
    Dim luminanceModifier As System.Single
    Dim value As NDynamicThemeColor
     
    value = NDynamicThemeColor.CreateSatLum(colorName, saturationModifier, luminanceModifier)
    public static NDynamicThemeColor CreateSatLum( 
       ENThemeColorName colorName,
       System.float saturationModifier,
       System.float luminanceModifier
    )

    Parameters

    colorName
    saturationModifier
    luminanceModifier
    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