Provides access to the available properties of a map layer info object.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
When To Use
Use the IMapLayerInfo interface to access read-only information about an individual layer in the map. Please note the difference between IMapLayerInfo and ILayerDescription. IMapLayerInfo is used to retrieve information. ILayerDescription is used to get and set layer settings.
Members
Description | ||
---|---|---|
CanFind | Indicates if the layer supports the Find operation. | |
CanIdentify | Indicates if the layer supports the Identify operation. | |
CanScaleSymbols | Indicates if the layer supports symbol scaling. | |
CanSelect | Indicates if the layer supports feature selection. | |
CopyrightText | Copyright information associated with the layer. | |
Description | The description of the layer. This property is set in the General tab of the Layer Properties dialog. | |
DisplayField | Primary display field. | |
Extent | The geographic extent of the layer. | |
FieldAliases | Array of strings that contains field alias for each field in Fields property. | |
Fields | Array of attribute fields contained in the layer. | |
HasAttributes | Indicates if the layer has attributes. | |
HasHyperlinks | Indicates if the layer has hyperlinks. | |
HasLabels | Indicates if the layer has labels to turn on and off. | |
ID | The layer identifier. This ID is used throughout to uniquely identify the layer for all requests. | |
IsComposite | Indicates if the layer is a composite layer. | |
IsFeatureLayer | Indicates if the layer is a feature layer. | |
MaxScale | The maximum visible scale for the layer. | |
MinScale | The minimum visible scale for the layer. | |
Name | The name of the layer. | |
ParentLayerID | If the layer is a member of a composite layer, this property identifies the parent layer. | |
SourceDescription | The description of the source information for the layer. | |
SubLayers | The list identifying the sublayers if the layer is a composite layer. | |
Type | The layer type. |
CoClasses that implement IMapLayerInfo2
CoClasses and Classes | Description |
---|---|
MapLayerInfo | The Map Layer Info coclass provides read-only information about a layer in a map. |