ESRI.ArcGIS.ADF.IMS
BackColor Property
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > Legend 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 Legend
Dim value As Color
 
instance.BackColor = value
 
value = instance.BackColor
C# 
public Color BackColor {get; set;}

Example

For an example, see the Legend overview.

Remarks

This determines the color of the background of the legend. To cause the background to be transparent, set the TransparentColor property to the same color, and use an output type of GIF or PNG (set the output type in the MapView's ImageDescriptor object, with the ImageFormat property). The default background color is white.

See Also

© 2010 All Rights Reserved.