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

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.