ThemeColorScheme.GetCustomColor(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.