![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
TransparentBackground Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto Namespace > ImageDescriptor Class : TransparentBackground Property |
Visual Basic (Declaration) | |
---|---|
Public Property TransparentBackground As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ImageDescriptor Dim value As Boolean instance.TransparentBackground = value value = instance.TransparentBackground |
C# | |
---|---|
public bool TransparentBackground {get; set;} |
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.
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