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

Returns the data content of the ResBuf object as a String value.

This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the String type or Name type.

Example of Entering and Displaying Tagged Data 

Getting and Setting Strings 

Determining the Data Type by Group Code 

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

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