ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
ToRgbColor Method
See Also 
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 RgbColor
Visual Basic (Usage)Copy Code
Dim color As Color
Dim value As RgbColor
 
value = Converter.ToRgbColor(color)
C# 
public static RgbColor ToRgbColor( 
   Color color
)

Parameters

color
A System.Drawing.Color to convert.

Return Value

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

See Also

© 2010 All Rights Reserved.