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


IMapServerLayer.BackgroundColor Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerLayer Interface > IMapServerLayer.BackgroundColor Property
ArcGIS Developer Help

IMapServerLayer.BackgroundColor Property

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**

Product Availability

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

Remarks

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.

See Also

IMapServerLayer Interface