Version

WorkbookColorInfo Constructor(WorkbookThemeColorType,Double)

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

Parameters

themeColorType
The type of theme color which should be the base color when the WorkbookColorInfo is used.
tint
The tint to apply to the base color, from -1.0 (100% darken) to 1.0 (100% lighten).
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionthemeColorType is not defined in the WorkbookThemeColorType 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 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