Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdResBuf::setBinaryChunk Method
Syntax
C++
void setBinaryChunk(const OdBinaryData& bChunk);

Sets the data content of the ResBuf object using the specified binary chunk instance only if the stored group code has the BinaryChunk type. 

 

Parameters
Description
bChunk
[in] Binary chunk instance to be set.

This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the BinaryChunk type. The passed value must be the OdBinaryChunk instance.

Example of Entering and Displaying Tagged Data 

Getting and Setting Specific Data (color 

Determining the Data Type by Group Code 

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

OdBinaryData, OdUInt8 classes

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