This document is archived and information here might be outdated. Recommended version. |
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 formats that support transparency. These include: png, png24 and gif. When adding a MapServerLayer to ArcMap the TransparentColor value is equal to the value of the BackgroundColor. Therefore, the background is transparent by default.