API Reference > OdDb Classes > OdDbTable Class > OdDbTable Methods > updateDataLink Method > OdDbTable::updateDataLink Method (OdDb::UpdateDirection, OdDb::UpdateOption)
OdDbTable::updateDataLink Method (OdDb::UpdateDirection, OdDb::UpdateOption)
Syntax
C++
void updateDataLink(OdDb::UpdateDirection nDir, OdDb::UpdateOption nOption);
Parameters 
Description 
OdDb::UpdateDirection nDir 
[in] Direction of update.  
OdDb::UpdateOption nOption 
[out] Update option. 

Updates the data link in the table. 

 

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 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.