Edit

Share via


ThemeColorScheme.GetCustomColor(String) Method

Definition

Gets a value that represents a color in the color scheme of a Microsoft Office theme.

public:
 int GetCustomColor(System::String ^ Name);
public int GetCustomColor (string Name);
abstract member GetCustomColor : string -> int
Public Function GetCustomColor (Name As String) As Integer

Parameters

Name
String

The name of the custom color.

Returns

MsoRGBType

Remarks

If the named custom color doesn’t exist, an error is generated.

Applies to