ESRI.ArcGIS.ADF
ToRGBColor(Color) Method
See Also  Send comments on this topic.
ESRI.ArcGIS.ADF Namespace > Converter Class > ToRGBColor Method : ToRGBColor(Color) Method




color
Color
Converts from System.Drawing.Color structure to an ESRI.ArcGIS.Dispay.IRgbColor

Syntax

Visual Basic (Declaration) 
<ObsoleteAttribute("This method is obsolete.  Use the ESRI.ArcGIS.ADF.Connection.Local.Converter.ToRGBColor method from the ESRI.ArcGIS.ADF.Connection.Local assembly instead.")>
Public Overloads Shared Function ToRGBColor( _
   ByVal color As Color _
) As IRgbColor
Visual Basic (Usage)Copy Code
Dim color As Color
Dim value As IRgbColor
 
value = Converter.ToRGBColor(color)
C# 
[ObsoleteAttribute("This method is obsolete.  Use the ESRI.ArcGIS.ADF.Connection.Local.Converter.ToRGBColor method from the ESRI.ArcGIS.ADF.Connection.Local assembly instead.")]
public static IRgbColor ToRGBColor( 
   Color color
)

Parameters

color
Color

Return Value

IRgbColor

See Also

© 2010 All Rights Reserved.