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


IGeometryMaterial.SetColor 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.SetColor Method
ArcGIS Developer Help

IGeometryMaterial.SetColor Method

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

[Visual Basic .NET]
Public Sub SetColor ( _
    ByVal red As Double, _
    ByVal green As Double, _
    ByVal blue As Double _
)
[C#]
public void SetColor (
    double red,
    double green,
    double blue
);
[C++]
HRESULT SetColor(
  double red,
  double green,
  double blue
);
[C++]
Parameters
red [in]

red is a parameter of type double green [in]
green is a parameter of type double blue [in]
blue 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