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

IColor.Transparency Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IC > IColor Interface > IColor.Transparency Property
ArcGIS Developer Help

IColor.Transparency Property

The Alpha Blending value. (0 for transparent, 255 for opaque).

[Visual Basic .NET]
Public Property Transparency As Byte
public byte Transparency {get; set;}
HRESULT get_Transparency(
  Byte alphaValue
HRESULT put_Transparency(
  System.Byte* alphaValue
alphaValue [in]

alphaValue is a parameter of type unsigned char alphaValue [out, retval]
alphaValue is a parameter of type unsigned char*

Product Availability

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


Transparency is the degree to which a color is opaque. True transparency is only supported at the layer level. For graphic elements, 0 for transparent and 255 for opaque are the only supported values. Use either the ILayerEffects or ITransparencyRenderer interfaces to set layer transparency. For layer transparency to work properly the display device must be set to "True Color (32 bit)".


The default value is 255.

See Also

IColor Interface