API Reference > OdDg Classes > OdDgElement Class > OdDgElement Methods > OdDgElement::copyFrom Method
OdDgElement::copyFrom Method
Syntax
C++
virtual void copyFrom(const OdRxObject* pSource);
Parameters 
Description 
const OdRxObject* pSource 
[in] Pointer to the source object. 

Copies the contents of the specified object into this object when possible. 

 

The source object and this object need not be of the same type. This function is meaningful only when implemented by custom classes.

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