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




colorType
String containing the color information
theme

Glossary Item Box

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)
C# 
public static Color GetThemeColorFromString( 
   string colorType,
   net.windward.format.pptx.Theme theme
)
Managed Extensions for C++ 
public: static Color GetThemeColorFromString( 
   string* colorType,
   net.windward.format.pptx.Theme* theme
) 
C++/CLI 
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

© 2019 All Rights Reserved.