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


IMapServerInfo.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 > IMapServerInfo Interface > IMapServerInfo.BackgroundColor Property
ArcGIS Developer Help

IMapServerInfo.BackgroundColor Property

The background color of the map (data frame).

[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

The background color is set in the map document itself. If background color is not explicitly set in the original mxd, the default color is set to an off-white color (RGB value of 253,253,253).

See Also

IMapServerInfo Interface