AGI STK Objects 11Send comments on this topic.
Visible Property (IAgVORefCrdn)
See Also 
Windows






Windows & Linux

Description

Whether component is visible

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property Visible() As Boolean
[C#]
public bool Visible {get; set;}
[Managed C++]
public: __property bool get_Visible();
public: __property void set_Visible(
   bool
);
[Unmanaged C++]
public: HRESULT get_Visible(
   VARIANT_BOOL * pRetVal
);
public: HRESULT put_Visible(
   VARIANT_BOOL NewVisible
);
[Java]
public bool getVisible();public void setVisible(
   bool
);

Remarks

The display status of vectors and other RefCrdn components can be returned via code such as the following example:

IAgSatellite sat= (IAgSatellite)AGI_APP.CurrentScenario.Children["Satellite1"];
for (int i = 0; i < sat.VO.Vector.RefCrdns.Count; i++)
{
    if(sat.VO.Vector.RefCrdns[i].Visible)
    {
     //...
    }
}

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.