API Reference > Other Classes > OdResBuf Class > OdResBuf Methods > OdResBuf::restype Method
OdResBuf::restype Method
Syntax
C++
int restype() const;

Returns the group code as an Integer value which indicates the data type stored in the ResBuf object.

Use the OdDxfCode::_getType() static method to determine the type of data associated with the returned group code.

Example of Entering and Displaying Tagged Data 

Getting and Setting Tagged Data 

Determining the Data Type by Group Code 

OdResBuf::ValueType enumerator 

OdResBuf::setRestype() method

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