Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Apps, Widgets, and Controls

AlarmColor​.RTN​.ForeGround property

  • Last UpdatedJul 19, 2024
  • 1 minute read

The AlarmColor.RTN.ForeGround property is a read-write color property that gets or sets the text color of alarm records that "return to normal" (ACK_RTN and UNACK_RTN).

Syntax

Color = AlarmClient.AlarmColor.RTN.ForeGround;

AlarmClient.AlarmColor.RTN.ForeGround = Color;

Parameters

Color

Color of text.

Example

AlarmClient1.AlarmColor.RTN.ForeGround = Color.Yellow;

Remarks

For more information, see Set alarm return to normal record colors.

Color is a .NET Framework data type. You can use various Color methods to set the color, such as a predefined color name, FromARGB(), FromKnownColor(), and FromName().

For a list of the .NET color names and the hexadecimal codes, see .NET colors.

For more information on the color methods, see the online Microsoft documentation for .NET Framework Development.

In This Topic
TitleResults for “How to create a CRG?”Also Available in