Version

ColorInfo Constructor(ThemeColorType,Double)

Creates a new ColorInfo with the specified theme color and tint.
Syntax
'Declaration
 
Public Function New( _
   ByVal themeColorType As ThemeColorType, _
   ByVal tint As Double _
)
public ColorInfo( 
   ThemeColorType themeColorType,
   double tint
)

Parameters

themeColorType
The type of theme color which should be the base color when the ColorInfo is used.
tint
The tint to apply to the base color, from -1.0 (100% darken) to 1.0 (100% lighten).
Exceptions
ExceptionDescription
System.ArgumentExceptionthemeColorType is not defined in the ThemeColorType enumeration.
System.ArgumentOutOfRangeExceptiontint is outside the range of -1.0 to 1.0, inclusive.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also