Windward Engine API Reference
TintColor Method
See Also  Send comments on this topic.
WindwardReportsDrivers.net.windward.chart Namespace > ThemeInfo Class : TintColor Method




color
Color to modify
tintAmount
Amount to modify (tint if 'tint' gt 0; shade of 'tint' lt 0); '10' means tint by 10%

Glossary Item Box

Tints or shades a color by a given percentage

Syntax

Visual Basic (Declaration) 
Public Shared Function TintColor( _
   ByVal color As Color, _
   ByVal tintAmount As Single _
) As Color
Visual Basic (Usage)Copy Code
Dim color As Color
Dim tintAmount As Single
Dim value As Color
 
value = ThemeInfo.TintColor(color, tintAmount)
C# 
public static Color TintColor( 
   Color color,
   float tintAmount
)
Managed Extensions for C++ 
public: static Color TintColor( 
   Color color,
   float tintAmount
) 
C++/CLI 
public:
static Color TintColor( 
   Color color,
   float tintAmount
) 

Parameters

color
Color to modify
tintAmount
Amount to modify (tint if 'tint' gt 0; shade of 'tint' lt 0); '10' means tint by 10%

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family

See Also

© 2019 All Rights Reserved.