ArcObjects Library Reference (Display)  

ILayerVisible.SetAllVisible Method

Indicates if all the layers are visible or invisible.

[Visual Basic .NET]
Public Sub SetAllVisible ( _
    ByVal allVisible As Boolean _
public void SetAllVisible (
    bool allVisible
HRESULT SetAllVisible(
  VARIANT_BOOL allVisible


allVisible [in]   allVisible is a parameter of type VARIANT_BOOL

Product Availability

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


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

See Also

ILayerVisible Interface