Version

WorkbookColorInfo Constructor(Color,Double)

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

Parameters

color
The base color which should be displayed 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.ArgumentExceptioncolor is the empty Color or has a non-opaque alpha channel.
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 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