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

AVEVA™ Plant SCADA

AttributeGradientOnColour

  • Last UpdatedJul 13, 2023
  • 1 minute read

Sets or retrieves the "On" portion of the gradient color on the General | Appearance tab of the Object Properties dialog for the current object.

This function is only supported on rectangle objects.

Syntax

AttributeGradientOnColour(Color)

Color:

On portion of the gradient color.

Return Value

If retrieving the gradient color, an RGB encoded color. If applying a gradient color, 0 (zero) if successful. In both cases, an error is returned if unsuccessful. If values are out of range on writing to the attribute, the function will exit and report the error E_INVALIDARG. If there is no active object, they will exit and report a return value of E_HANDLE.

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