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

Apps, Widgets, and Controls

Colors in Trend Client

  • Last UpdatedDec 08, 2015
  • 1 minute read

Trend Client and ActiveFactory use different color rendering schemes. ActiveFactory uses BGR and ABGR color rendering,

where:

A = Transparency (for ABGR only)

B = Blue

G = Green

R = Red

Information on how colors are rendered in ActiveFactory appears in Chapter 19, Common Properties, Methods, Events, Enums, and Data Types, of the ActiveFactory Software User’s Guide.

In contrast, in the Trend Client, 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 example, to set the pen color on a Trend Client Trend named RealtimeTrend1 to DarkGreen, you use the following script statement:

RealtimeTrend1.Pen.Color = System.Drawing.Color.FromName("DarkGreen");

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

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