Revit 2025 API
UITheme |
Gets the theme name for the given theme type.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static string GetThemeName( UITheme frameTheme )
Public Shared Function GetThemeName ( frameTheme As UITheme ) As String
public: static String^ GetThemeName( UITheme frameTheme )
static member GetThemeName : frameTheme : UITheme -> string
Parameters
- frameTheme UITheme
- The theme.
Return Value
StringThe name of the theme.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
See Also