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

Returns the data content of the ResBuf object as an OdDbHandle instance.

This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the Handle type.

Example of Entering and Displaying Tagged Data 

Getting and Setting Objects 

Determining the Data Type by Group Code 

OdResBuf::setHandle(), OdResBuf::restype(), OdDxfCode::_getType() methods 

OdDbHandle, OdUInt64 classes

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