Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbTable::setContentLayout Method
Syntax
C++
void setContentLayout(OdInt32 row, OdInt32 col, OdDb::CellContentLayout nLayout);

Sets the content layout to the cell. 

 

Parameters
Description
row
[in] Row index of the cell.
col
[in] Column index of the cell.
nLayout
[in] Content layout.

Content layout should take one of following values: 

 

Name
Value
kCellContentLayoutFlow
0x1
kCellContentLayoutStackedHorizontal
0x2
kCellContentLayoutStackedVertical
0x4

 

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 format is not editable (!isFormatEditable()).

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