ESRI.ArcGIS.ADF.IMS
BackColor Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > ImageDescriptor Class : BackColor Property




Gets or sets the background color.

Syntax

Visual Basic (Declaration) 
Public Property BackColor As Color
Visual Basic (Usage)Copy Code
Dim instance As ImageDescriptor
Dim value As Color
 
instance.BackColor = value
 
value = instance.BackColor
C# 
public Color BackColor {get; set;}

Remarks

This is the color drawn in the background of the map, for any areas where no features occur. If map features (in polygon or image layers) completely occupy all areas of the map extent, then the background color will not be used.

The background of the map may be made transparent, so that if the map image is stacked on top of other images, the image underneath will show through where the background pixels are set transparent. Any of the following will cause the background of the map to be transparent:

  • Set the TransparentColor property to the same color as BackColor
  • Set BackColor to Color.Transparent
  • Set TransparentBackground to true

However, if BackColor is set to Color.Empty, then no background or transparent color information is included in the request to the server when the map is drawn.

See Also

© 2010 All Rights Reserved.