This document is archived and information here might be outdated.  Recommended version.


ICieLabConversion.RgbToLab Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IC > ICieLabConversion Interface > ICieLabConversion.RgbToLab Method
ArcGIS Developer Help

ICieLabConversion.RgbToLab Method

Converts an RGB color to a CIELAB color.

[Visual Basic .NET]
Public Sub RgbToLab ( _
    ByVal RGB As Integer, _
    ByRef l As Double, _
    ByRef a As Double, _
    ByRef b As Double _
)
[C#]
public void RgbToLab (
    int RGB,
    ref double l,
    ref double a,
    ref double b
);
[C++]
HRESULT RgbToLab(
  OLE_COLOR RGB,
  System.Double* l,
  System.Double* a,
  System.Double* b
);
[C++]
Parameters
RGB [in]

RGB is a parameter of type OLE_COLOR l [out]
l is a parameter of type double* a
a is a parameter of type double* b
b is a parameter of type double*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ICieLabConversion Interface