API Reference > OdDg Classes > OdDgGraphicsElement Class > OdDgGraphicsElement Methods > setMaterial Method > OdDgGraphicsElement::setMaterial Method (OdString&, OdUInt32)
OdDgGraphicsElement::setMaterial Method (OdString&, OdUInt32)
Syntax
C++
virtual void setMaterial(const OdString& strMaterialName, OdUInt32 uPaletteIndex = 0);

This is setMaterial, a member of class OdDgGraphicsElement.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.