ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
ToRgbColor Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > Converter Class : ToRgbColor Method




color
A System.Drawing.Color to convert.
Converts a system Color to the equivalent ArcGIS Server RgbColor.

Syntax

Visual Basic (Declaration) 
Public Shared Function ToRgbColor( _
   ByVal color As Color _
) As ESRI.ArcGIS.ADF.ArcGISServer.RgbColor
Visual Basic (Usage)Copy Code
Dim color As Color
Dim value As ESRI.ArcGIS.ADF.ArcGISServer.RgbColor
 
value = Converter.ToRgbColor(color)
C# 
public static ESRI.ArcGIS.ADF.ArcGISServer.RgbColor ToRgbColor( 
   Color color
)

Parameters

color
A System.Drawing.Color to convert.

Return Value

The equivalent ESRI.ArcGIS.ADF.ArcGISServer.RgbColor.

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.