Nevron.Nov.Diagram.Themes Namespace / NThemePaletteColorInfo Class / NThemePaletteColorInfo Constructor / NThemePaletteColorInfo Constructor(ENThemeColorName,Single)
The name of the palette color.
Must be between -1 and 1. Negative values produce darker colors. 0 means unmodified color.
In This Topic
    NThemePaletteColorInfo Constructor(ENThemeColorName,Single)
    In This Topic
    Creates a theme palette color info that produces a lighter (brightnessFactor > 0) or a darker (brightnessFactor < 0) theme color.
    Syntax
    public NThemePaletteColorInfo( 
       ENThemeColorName name,
       System.float brightnessFactor
    )

    Parameters

    name
    The name of the palette color.
    brightnessFactor
    Must be between -1 and 1. Negative values produce darker colors. 0 means unmodified color.
    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