C++
Acad::ErrorStatus setBinaryData( const ACHAR* key, Adesk::Int32 size, const char* data );
Description
This function copies the binary chunk pointed to by data into this object's extension dictionary. It looks for key in the dictionary, and either creates or overwrites a resbuf chain on an xrecord at that key. The binary data is broken into 127-byte chunks for storage in the resbuf chain.
The caller is responsible for opening the object for write.
Parameters
Parameters | Description |
---|---|
key | Input extension dictionary key to be used |
size | Input size of the binary data, in bytes |
data | Input pointer to a flat data buffer whose size, in bytes, is at least as large as size |
Returns
Returns Acad::eOk if successful.
Links
Previous Declaration
Acad::ErrorStatus setBinaryData(const ACHAR * key, long size, const char * data);