ESRI.ArcGIS.ADF.IMS
BackColor Property
See Also  Send Feedback
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.