ArcObjects Library Reference (Carto)  

ILayerEffects Interface

Provides access to members that control layer effects.

Product Availability

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

Members

Description
Read/write property Brightness Layer brightness in percent (-100 - 100).
Read/write property Contrast Layer contrast in percent (-100 - 100).
Read-only property SupportsBrightnessChange Indicates if the layer supports brightness changes.
Read-only property SupportsContrastChange Indicates if the layer supports contrast changes.
Read/write property SupportsInteractive Indicates if the layer supports interactive effects changes.
Read-only property SupportsTransparency Indicates if the layer supports transparency.
Read/write property Transparency Layer transparency in percent (0-100).

CoClasses that implement ILayerEffects

CoClasses and Classes Description
BasemapLayer Layer containing a Basemap.
CadAnnotationLayer An ESRI Cad annotation layer.
CadastralFabricLayer Cadastral Fabric Layer Object.
CadastralFabricSubLayer Cadastral Fabric Feature Layer Object.
CadFeatureLayer ESRI CAD Feature Layer class.
CadLayer ESRI CAD Layer class.
CoverageAnnotationLayer An ESRI coverage annotation layer.
DimensionLayer A collection of properties for a dimension layer.
FDOGraphicsLayer A collection of properties for an annotation layer (feature data object graphics layer).
FeatureLayer A collection of features and their visual representation.
FeatureLayerDrawingDescription Feature layer drawing description.
ForceElementLayer (esriDefenseSolutions) A custom layer, bound to a feature layer, that wraps a force element display list and makes it possible to view and manipulate its cached graphic contents in an ArcGIS map display.
GdbRasterCatalogLayer Geodabase RasterCatalog source and display options.
GeoVideoLayer (esriGlobeCore) The georeferenced video layer.
GlobeGraphicsLayer (esriGlobeCore) The Globe Graphics Layer.
GlobeLayer (esriGlobeCore) The cache-only globe layer.
GlobeServerLayer (esriGlobeCore) Provides programmatic access to a globe server layer.
GraphicsLayer3D (esri3DAnalyst) A 3D Graphics Layer.
GroupLayer A collection of layers that behaves like a single layer.
HorizontalBarLegendItem Horizontal bar legend item.
HorizontalLegendItem Horizontal legend item.
ImageServerLayer Image server layer source and display options.
IMSMapLayer A container for the display and manipulation of IMS layers.
KmlLayer (esriGlobeCore) ESRI KML Layer class.
MADtedLayer (esriDefenseSolutions) A layer used to control the display of MA DTED Catalogs.
MapServerLayer Provides programmatic access to a map server layer.
MARasterLayer (esriDefenseSolutions) A layer used to control the display of MA RPF Catalogs.
MosaicLayer The layer implementation of the Mosaic Dataset.
NestedLegendItem Nested legend item.
NetworkLayer ESRI Network Layer CoClass.
RasterBasemapLayer Basemap Layer containing a Raster.
RasterCatalogLayer Raster catalog source and display options.
RasterLayer Raster layer source and display options.
RasterLayerDrawingDescription Raster layer drawing description.
TacticalGraphicLayer (esriDefenseSolutions) A custom layer, bound to a feature layer, that wraps a tactical graphic display list and makes it possible to view and manipulate its cached graphic contents in an ArcGIS map display.
TemporalFeatureLayer (esriTrackingAnalyst) Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object.
TerrainLayer The Terrain Layer class.
TinLayer The TIN Layer class.
TopologyLayer A collection of properties for a topology layer.
VerticalLegendItem Vertical legend item.
WCSLayer WCS layer source and display options.
WMSMapLayer A container for the display and manipulation of WMS layers.

Remarks

Use this interface to changes brightness, contrast, and transparency for a layer. The controls on the Effects toolbar in ArcMap utilize this interface. Not all layers support all layer effects. For example, FeatureLayer objects only support transparency, while RasterLayer objects support all effects. Before you attempt to change a layer effect, you should check to see if the layer supports the effect. Use SupportsBrightnessChange, SupportsContrastChange, and SupportsTransparency for this.

The display settings on your computer must be set to True Color for layer effects to work correctly.

.NET Samples

Layer effects animation in ArcMap (Code Files: AnimationTypeLayerEffects MapLayerEffectsKeyframe) |