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




Whether the background of the image should be transparent.

Syntax

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

Remarks

This causes 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.