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

See Also

© 2010 All Rights Reserved.