This document is archived and information here might be outdated.  Recommended version.


IGraphicTracker.SetVisible Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > EngineCore > ESRI.ArcGIS.EngineCore > Interfaces > IG > IGraphicTracker Interface > IGraphicTracker.SetVisible Method
ArcGIS Developer Help

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 bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Sets the graphic to be visible or invisible.

See Also

IGraphicTracker Interface