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


IMapServerInfo.BackgroundColor Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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