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


IMapServerLayer.BackgroundColor Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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