ESRI.ArcGIS.ADF.IMS
Layers Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > DataFrame Class : Layers Property




Gets the layers in the current DataFrame.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Layers As LayerCollection
Visual Basic (Usage)Copy Code
Dim instance As DataFrame
Dim value As LayerCollection
 
value = instance.Layers
C# 
public LayerCollection Layers {get;}

Example

For an example of accessing a layer in a DataFrame and setting its visibility, see the DataFrame overview.

Remarks

For layers in a DataFrame within LayoutView, only the visibility may be changed. All other changes to properties of the layers will be ignored when generating a layout.

See Also

© 2010 All Rights Reserved.