GetTheme

function GetTheme(): string

The function GetTheme returns the name of the active theme. Refer also to the description page for the corresponding API function.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

String

Name of the active theme.

NuGet package: Beckhoff.TwinCAT.HMI.Functions

GetTheme 1:

NuGet packages are available from version 1.12.

GetTheme 2:

Available from version 1.10