Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdResBuf::setInt16 Method
Syntax
C++
void setInt16(OdInt16 iValue);

Sets the data content of the ResBuf object using the specified 16-bit Integer value only if the stored group code has an Integer type. 

 

Parameters
Description
iValue
[in] 16-bit Integer value to be set.

This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the Integer16 type. Use the ((OdInt16)value) instruction to convert the passed value.

Example of Entering and Displaying Tagged Data 

Getting and Setting Typical Data (integer 

Determining the Data Type by Group Code 

OdResBuf::getInt16(), OdResBuf::setRestype(), OdDxfCode::_getType() methods

Copyright © 2002-2022. Open Design Alliance All rights reserved.