C++
Acad::ErrorStatus setCustomData( int nRow, int nCol, const ACHAR* pszKey, const AcValue* pData );
Description
Sets the custom data value set in cell, row, or column.
Returns Acad::eOk if successful; otherwise, returns an AutoCAD error status.
Note: To specify cell pass a valid row and column indices; to specify row pass a valid row index and pass -1 as column index; to specify column pass a valid column index and pass -1 as row index.
Parameters
Parameters | Description |
---|---|
nRow | Input row index. This can be -1. See remarks. |
nCol | Input column index. This can be -1. See remarks |
pszKey | Input key to use for the custom data |
pData | Input custom data to set. If this is NULL, it deletes the custom data. |