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

ILayerEffects.Transparency Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerEffects Interface > ILayerEffects.Transparency Property
ArcGIS Developer Help

ILayerEffects.Transparency Property

Layer transparency in percent (0-100).

[Visual Basic .NET]
Public Property Transparency As Short
public short Transparency {get; set;}
HRESULT get_Transparency(
  System.Int16* alpha
HRESULT put_Transparency(
  short alpha
alpha [out, retval]

alpha is a parameter of type short* alpha [in]
alpha is a parameter of type short

Product Availability

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


When you set Transparency for a FeatureLayer, a TransparencyDisplayFilter is created and applied to the layer. You can accomplish the same effect by manually creating a new TransparencyDisplayFilter using IDisplayFilter, and then assigning it to a layer using IDisplayFilterManager.


See Also

ILayerEffects Interface