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


IGeometryMaterialList.AddMaterial Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (3DAnalyst)  

IGeometryMaterialList.AddMaterial Method

Add geometry material.

[Visual Basic .NET]
Public Sub AddMaterial ( _
    ByVal pMaterial As IGeometryMaterial _
)
[C#]
public void AddMaterial (
    IGeometryMaterial pMaterial
);
[C++]
HRESULT AddMaterial(
  IGeometryMaterial* pMaterial
);
[C++]

Parameters pMaterial [in]
pMaterial is a parameter of type IGeometryMaterial

Product Availability

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

See Also

IGeometryMaterialList Interface