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

AVEVA™ Plant SCADA

IObjectView​.Visible [Property][Get/Set]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets or Sets the visibility of the Object View window.

Defined As

  • [VBA] Boolean Visible

  • [Cicode] INT Visible

  • [C++] VARIANT_BOOL Visible

Execution Result

If the property get succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument.

Limits

  • True (-1): Visible

  • False (0): Hidden

Remarks

By hiding the ObjectView, the chart gains the real estate previously held by it, and likewise the chart loses real estate when the ObjectView gets shown.

Calling Syntax

Assume that there is an IObjectView object being passed in as a parameter.

[VBA]

Sub Example(objectView As Object)
Dim visible As Boolean
`Getting Property value
visible = objectView.Visible
`Setting Property value
objectView.Visible = False
End Sub

[Cicode]

FUNCTION Example(OBJECT hObjectView)
INT bVisible = 0
// Getting property value
bVisible = _ObjectGetProperty(hObjectView, "Visible");
// Setting Property to false
_ObjectSetProperty(hObjectView, "Visible", 0);
END

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