Using the Process Analyst > Process Analyst for Developers > Automation Model > ITrendCursor.Visible [Property][Get/Set]

ITrendCursor.Visible [Property][Get/Set]

Get or Set whether the cursor is visible.

Defined As

Execution Result

If the property get/set succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument. If the cursor is deleted, the return value will be GeneralFailure.


This property controls the visibility of the cursor. The visibility is also applied to labels associated with the cursor.

See Also

ITrendCursor.PenLabelVisible [Property][Get/Set]

Calling Syntax

This example assumes you have a valid reference to a cursor.


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


FUNCTION Example(OBJECT hCursor)
INT visibility;
// Getting current property value
visibility = _ObjectGetProperty(hCursor, "Visible");
// Setting Property to False (0)
_ObjectSetProperty(hCursor, "Visible", 0);