This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerLayer Interface > IMapServerLayer.BackgroundColor Property (ArcObjects .NET 10.4 SDK) |
The background color of a map server layer object.
[Visual Basic .NET] Public ReadOnly Property BackgroundColor As IColor
[C#] public IColor BackgroundColor {get;}
[C++]
HRESULT get_BackgroundColor(
IColor** Color
);
[C++]
Parameters Color [out, retval]
Color is a parameter of type IColor
Use BackgroundColor to retrieve the color for the background of a map server layer object. The BackgroundColor of a map server layer is transparent by default when it is added to an application.