ArcObjects Library Reference (EngineCore)  

IGraphicTracker.SetVisible Method

Sets the visibility for the given graphic.

[Visual Basic .NET]
Public Sub SetVisible ( _
    ByVal id As Integer, _
    ByVal bVisible As Boolean _
)
[C#]
public void SetVisible (
    int id,
    bool bVisible
);
[C++]
HRESULT SetVisible(
  long id,
  VARIANT_BOOL bVisible
);
[C++]

Parameters

id [in]   id is a parameter of type long bVisible [in]   bVisible is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

Description

Sets the graphic to be visible or invisible.

See Also

IGraphicTracker Interface