API Reference > Other Classes > OdResBuf Class > OdResBuf Methods > OdResBuf::copyFrom Method
OdResBuf::copyFrom Method
Syntax
C++
void copyFrom(const OdRxObject* pRb);
Parameters 
Description 
const OdRxObject* pRb 
[in] Pointer to the specified source ResBuf object to be copied. 

Copies the contents of the specified ResBuf object into this ResBuf object. 

 

This method generates the eInvalidGroupCode exception when the data types of both ResBuf object are diffenrent or specified ResBuf value is invalid.

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