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

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

 

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

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