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


IGeometryMaterial.GetColor Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IG > IGeometryMaterial Interface > IGeometryMaterial.GetColor Method
ArcGIS Developer Help

IGeometryMaterial.GetColor Method

Get color, red, green, blue is in range of 0.0 - 1.0.

[Visual Basic .NET]
Public Sub GetColor ( _
    ByRef pRed As Double, _
    ByRef pGreen As Double, _
    ByRef pBlue As Double _
)
[C#]
public void GetColor (
    ref double pRed,
    ref double pGreen,
    ref double pBlue
);
[C++]
HRESULT GetColor(
  System.Double* pRed,
  System.Double* pGreen,
  System.Double* pBlue
);
[C++]
Parameters
pRed [out]

pRed is a parameter of type double* pGreen [out]
pGreen is a parameter of type double* pBlue [out]
pBlue is a parameter of type double*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also

IGeometryMaterial Interface