![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
TransparentColor Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto Namespace > Legend Class : TransparentColor Property |
Visual Basic (Declaration) | |
---|---|
Public Property TransparentColor As Color |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Legend Dim value As Color instance.TransparentColor = value value = instance.TransparentColor |
C# | |
---|---|
public Color TransparentColor {get; set;} |
For an example, see the Legend overview.
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.
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