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


IGeometryMaterial.GetColor Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (3DAnalyst)  

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(
  double* pRed,
  double* pGreen,
  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