API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > updateDataLink Method > OdDbTable::updateDataLink Method (OdInt32, OdInt32, OdDb::UpdateDirection, OdDb::UpdateOption)
OdDbTable::updateDataLink Method (OdInt32, OdInt32, OdDb::UpdateDirection, OdDb::UpdateOption)
Syntax
C++
void updateDataLink(OdInt32 row, OdInt32 col, OdDb::UpdateDirection nDir, OdDb::UpdateOption nOption);
Parameters 
Description 
OdInt32 row 
[in] Row index of the cell.  
OdInt32 col 
[in] Column index of the cell.  
OdDb::UpdateDirection nDir 
[in] Direction of update.  
OdDb::UpdateOption nOption 
[in] Update option. 

Updates the data link of the cell. 

 

Direction of update should take one of the following values: 

 

Name 
Value 
kUpdateDirectionSourceToData 
0x1 
kUpdateDirectionDataToSource 
0x2 

 

Update option should take one of the following values: 

 

Name 
Value 
kUpdateOptionNone 
kUpdateOptionSkipFormat 
0x20000 
kUpdateOptionUpdateRowHeight 
0x40000 
kUpdateOptionUpdateColumnWidth 
0x80000 
kUpdateOptionAllowSourceUpdate 
0x100000 
kUpdateOptionForceFullSourceUpdate 
0x200000 
kUpdateOptionOverwriteContentModifiedAfterUpdate 
0x400000 
kUpdateOptionOverwriteFormatModifiedAfterUpdate 
0x800000 
kUpdateOptionForPreview 
0x1000000 
kUpdateOptionIncludeXrefs 
0x2000000 
kUpdateOptionSkipFormatAfterFirstUpdate 
0x4000000 

 

Method generates the eInvalidInput exception when the input row number and column number are less than 0 or greater than the table size.

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