Version

ScaleColor Method (SimpleColorModel)

Scales a color according to the scaling style of this color model.
Syntax
'Declaration
 
Protected Function ScaleColor( _
   ByVal color As Color, _
   ByVal itemNumber As Integer, _
   ByVal totalCount As Integer _
) As Color
protected Color ScaleColor( 
   Color color,
   int itemNumber,
   int totalCount
)

Parameters

color
The color to scale.
itemNumber
The index of the item to scale.
totalCount
The total count of items in the set.

Return Value

A new color which has been scaled by this color model according to the specified parameters.
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