API Reference > OdDb Classes > OdDbLinkedTableData Class > OdDbLinkedTableData Methods > setBlockTableRecordId Method > OdDbLinkedTableData::setBlockTableRecordId Method (OdInt32, OdInt32, OdDbObjectId&)
OdDbLinkedTableData::setBlockTableRecordId Method (OdInt32, OdInt32, OdDbObjectId&)
Syntax
C++
virtual void setBlockTableRecordId(OdInt32 nRow, OdInt32 nCol, const OdDbObjectId& idBTR);
Parameters 
Description 
OdInt32 nRow 
[in] Row index of the cell.  
OdInt32 nCol 
[in] Column index of the cell.  
const OdDbObjectId& idBTR 
[in] ID of the block table record. 

Sets the ID of the block table record of the zero content of a cell as an object of the OdDbObjectId class. 

 

Method generates the eInvalidInput exception when the input row number and column number are less than 0 or greater than the table size. Method generates the eIsWriteProtected exception when content is not editable (!isContentEditable()).

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