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