Generate a Color from a theme color and it's tint/darken
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function GetThemeColorFromString( _
ByVal colorType As String, _
ByVal theme As net.windward.format.pptx.Theme _
) As Color |
Visual Basic (Usage) | Copy Code |
---|
Dim colorType As String
Dim theme As net.windward.format.pptx.Theme
Dim value As Color
value = ThemeInfo.GetThemeColorFromString(colorType, theme) |
Managed Extensions for C++ | |
---|
public: static Color GetThemeColorFromString(
string* colorType,
net.windward.format.pptx.Theme* theme
) |
Parameters
- colorType
- String containing the color information
- theme
Return Value
The generated Color
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family
See Also