Interface ICamApiTheme
Snapshot of the currently active UI theme of CAM application.
All properties are read-only - plugins observe the theme chosen
by the user, they do not switch it.
Assembly: CAMAPI.Application.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("8A7C4F31-2E5D-4B91-9C64-1F3A8E92D7A5")]
public interface ICamApiTheme
Properties
IsDark
True if the active theme uses a dark background palette.
Cannot be derived from Kind alone: a single Kind may have
both dark and light variants.
Declaration
Property Value
Kind
UI engine family the theme belongs to.
Declaration
TCamApiThemeKind Kind { get; }
Property Value
Name
Theme variant name (e.g. "White", "Outer_Space").
Returns "Unknown" if the host has a ThemeIndex this SDK
version does not know about.
Declaration
Property Value
Methods
GetColor(TCamApiColorKind)
Declaration
int GetColor(TCamApiColorKind ColorKind)
Parameters
Returns