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


ILayerVisible.SetAllVisible Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IL > ILayerVisible Interface > ILayerVisible.SetAllVisible Method
ArcGIS Developer Help

ILayerVisible.SetAllVisible Method

Indicates if all the layers are visible or invisible.

[Visual Basic .NET]
Public Sub SetAllVisible ( _
    ByVal allVisible As Boolean _
)
[C#]
public void SetAllVisible (
    bool allVisible
);
[C++]
HRESULT SetAllVisible(
  VARIANT_BOOL allVisible
);
[C++]
Parameters
allVisible [in]

allVisible is a parameter of type bool

Product Availability

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

Description

SetAllVisible indicates whether all layers of a MultiLayerFillSymbol, MultiLayerMarkerSymbol or MultiLayerLineSymbol will be displayed when the symbol is rendered.

See Also

ILayerVisible Interface