API Reference > Other Classes > OdDgResBuf Class > OdDgResBuf Methods > OdDgResBuf::getResBuf Method
OdDgResBuf::getResBuf Method
Syntax
C++
OdDgResBufPtr getResBuf() const;

Returns a pointer to the ResBuf instance nested in the data content of the ResBuf object.

This method generates the OdError_InvalidResBuf exception when the stored group code is not set to kRtResBuf. The OdDxfCode::_getType() method returns Unknown type for it.

Example of Entering and Displaying Tagged Data 

Getting and Setting Specific Data (color 

OdResBuf::setResBuf(), OdResBuf::restype() methods

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