Theme (Object)

Member of:

Themes collection

Description:

Represents an individual theme type for a selected gauge. The theme refers to the parts of the gauge that can be altered to change the look of the gauge without changing its functionality. The standard Interactive Reporting theme types are either realistic (three dimensional appearance) or simplistic (one dimensional appearance). The theme object name for the gauge is retrieved from the widget.xml file.

Example:

This example shows how to read the theme types for a speedometer and write the results to the Console Window:

Console.Writeln(Speedometer.Theme.SelectedTheme)
Speedometer.Theme.SelectedTheme = "realistic"
Console.Writeln(Speedometer.Theme.SelectedTheme)
Speedometer.Theme.SelectedTheme = "simplistic"
Console.Writeln(Speedometer.Theme.SelectedTheme)
Console.Writeln(Speedometer.Theme[1].Name) (always returns realistic)
Console.Writeln(Speedometer.Theme[2].Name)(always returns simplistic)

Methods:

None

Properties:

Read-write: Name as string

Objects:

None