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


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

IMapServerInfo2.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

IMapServerInfo2 Interface