ESRI.ArcGIS.ADF.IMS
TransparentColor Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto Namespace > Legend Class : TransparentColor Property




Gets or sets the transparency color.

Syntax

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

Example

For an example, see the Legend overview.

Remarks

This property causes a color to be set as transparent in the output image. To cause the background to be transparent, set the TransparentColor property to the same color as BackColor, 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 is no transparency color, so that the image will have no transparency.

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.