Converts an ArcGIS Server RgbColor to the equivalent system Color.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function ToSystemColor( _
ByVal color As ESRI.ArcGIS.ADF.ArcGISServer.Color _
) As Color |
Visual Basic (Usage) | Copy Code |
---|
Dim color As ESRI.ArcGIS.ADF.ArcGISServer.Color
Dim value As Color
value = Converter.ToSystemColor(color) |
C# | |
---|
public static Color ToSystemColor(
ESRI.ArcGIS.ADF.ArcGISServer.Color color
) |
Parameters
- color
- An ESRI.ArcGIS.ADF.ArcGISServer.RgbColor to convert.
Return Value
An equivealent
System.Drawing.Color.
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