API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > setDataLink Method > OdDbTable::setDataLink Method (OdCellRange&, OdDbObjectId&, bool)
OdDbTable::setDataLink Method (OdCellRange&, OdDbObjectId&, bool)
Syntax
C++
void setDataLink(const OdCellRange& range, const OdDbObjectId& idDataLink, bool bUpdate);
Parameters 
Description 
const OdCellRange& range 
[in] Cell range.  
const OdDbObjectId& idDataLink 
[in] Array of data link IDs.  
bool bUpdate 
[in] Flag that indicates whether or not the data link should be updated after setting. 

Sets the data link (OdDbDataLink) for the specified cell range. 

 

Method generates the eNotThatKindOfClass exception when idDataLink is not an OdDbDataLink object ID.

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