Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbLinkedTableData::updateDataLink Method (OdInt32, OdInt32, OdDb::UpdateDirection, OdDb::UpdateOption)
Syntax
C++
virtual void updateDataLink(OdInt32 nRow, OdInt32 nCol, OdDb::UpdateDirection nDir, OdDb::UpdateOption nOption);

Updates the data link of a cell. 

 

Parameters
Description
nRow
[in] Row index of the cell.
nCol
[in] Column index of the cell.
nDir
[in] Direction of update.
nOption
[in] Update option.

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
0
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-2022. Open Design Alliance All rights reserved.