ArcGIS Pro 2.6 API Reference Guide
ConvertToRGB Method (ColorFactory)

ArcGIS.Desktop.Mapping Namespace > ColorFactory Class : ConvertToRGB Method
Convert the input CIMColor to CIMRGBColor. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public CIMRGBColor ConvertToRGB( 
   CIMColor color
)
Public Function ConvertToRGB( _
   ByVal color As CIMColor _
) As CIMRGBColor

Parameters

color

Return Value

CIMRGBColor
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

ColorFactory Class
ColorFactory Members