API Reference > Other Classes > OdResBuf Class > OdResBuf Methods > OdResBuf::getHandle Method
OdResBuf::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–2021. Open Design Alliance. All rights reserved.