ArcObjects Library Reference  (Display)    

IColor.Transparency Property

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

[Visual Basic 6.0]
Property Transparency As Byte
[Visual Basic .NET]
Public Property Transparency As Byte
[C#]
public byte Transparency {get; set;}
[Java]
public Byte getTransparency()
throws
    IOException,
    AutomationException
[Java]
public void setTransparency(
Byte Transparency
)
throws
    IOException,
    AutomationException
[C++]
HRESULT get_Transparency(
  Byte* alphaValue
);
[C++]
HRESULT put_Transparency(
  Byte alphaValue

);

[C++]

Parameters

alphaValue [out, retval]

  alphaValue is a parameter of type Byte

alphaValue [in]

  alphaValue is a parameter of type Byte

Product Availability

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

Description

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)".

Remarks

The default value is 255.

See Also

IColor Interface

 


Feedback Send feedback on this page