Application.GetThemedColor Method (Project)

Returns the color of the specified theme element type in the Project Guide. Deprecated in Project.

Syntax

expression. GetThemedColor( _elementType_ )

expression An expression that returns an Application object.

Parameters

Name Required/Optional Data Type Description
elementType Required Long A valid theme element type. Can be one of the constants in the PjThemeElement enumeration.

Return Value

Long

Remarks

Note The Project Guide is disabled by default in Project. Although you can create and display custom Project Guide pages, we recommend that you create a task pane app instead of the Project Guide for new development.