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

Sets the ID of the block table record of the specified 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.