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




Gets or sets the color to be rendered as transparent.

Syntax

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

Remarks

This property may be used to cause the background of the map to be transparent.

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

Note that if map features (in polygon or image layers) completely occupy all areas of the map extent, then the background color will not be used.

See Also

© 2010 All Rights Reserved.