This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapDescription2 Interface > IMapDescription2.TransparentColor Property (ArcObjects .NET 10.5 SDK) |
The color that is transparent (100 %).
[Visual Basic .NET] Public Property TransparentColor As IColor
[C#] public IColor TransparentColor {get; set;}
[C++]
HRESULT get_TransparentColor(
IColor** Color
);
[C++]
HRESULT put_TransparentColor(
IColor* Color
);
[C++]
Parameters Color [out, retval]
Color is a parameter of type IColor Color [in]
Color is a parameter of type IColor
Setting a transparent color is valid only for image formats that support transparency. These include: png, png24 and gif.
A transparent color can also be set in ImageDisplay2. The color set for ImageDisplay2 takes precedence over the transparent color set in the MapDescription. In such cases this property will be ignored.