SetTheme

function SetTheme(themeName: string): void

The function SetTheme sets the active theme. Refer also to the description page for the corresponding API function.

Parameter

Name

 

Description

newTheme

string

Available theme that is to be set to active.

Return value

Type

Description

void

No return value.

NuGet package: Beckhoff.TwinCAT.HMI.Functions

SetTheme 1:

NuGet packages are available from version 1.12.

SetTheme 2:

Available from version 1.10