.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > SmartColor Class > SmartColor Constructor : SmartColor Constructor(Color,ScaleRange,ElementValue)
SmartColor's main color.
Value range criteria for elements matching the elementValue of each element.
Element value used to compare against the scale range to determine if an element uses this SmartColor.
SmartColor Constructor(Color,ScaleRange,ElementValue)
Initializes a new instance of the SmartColor object with a color and scale range. This will check element's specified attribute to determine whether it inherits this color.
Syntax
'Declaration
 
Public Function New( _
   ByVal color As Color, _
   ByVal range As ScaleRange, _
   ByVal elementValue As ElementValue _
)
'Usage
 
Dim color As Color
Dim range As ScaleRange
Dim elementValue As ElementValue
 
Dim instance As New SmartColor(color, range, elementValue)

Parameters

color
SmartColor's main color.
range
Value range criteria for elements matching the elementValue of each element.
elementValue
Element value used to compare against the scale range to determine if an element uses this SmartColor.
Requirements

Target Platforms: 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