Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbLinkedTableData::setValue Method (OdInt32, OdInt32, OdUInt32, const OdValue&, OdValue::ParseOption)
Syntax
C++
virtual void setValue(OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdValue& value, OdValue::ParseOption nOption);

Sets a value to the specified content of a cell. 

 

Parameters
Description
nRow
[in] Row index of the cell.
nCol
[in] Column index of the cell.
nContent
[in] Number of content.
value
[in] Value.
nOption
[in] Parse option of value.

Parse option is an enumerator and takes one of the following values: 

 

Name
Value
kParseOptionNone
0x00
kSetDefaultFormat
0x01
kPreserveMtextFormat
0x02
kConvertTextToValue
0x04
kChangeDataType
0x08
kParseTextForFieldCode
0x10

 

Method generates the eInvalidInput exception when the input row number and column number are less than 0 or greater than the table size. Method generates the eIsWriteProtected exception when content is not editable (!isContentEditable()).

Copyright © 2002-2022. Open Design Alliance All rights reserved.