This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerInfo2 Interface > IMapServerInfo2.BackgroundColor Property (ArcObjects .NET 10.5 SDK) |
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
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).