Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbFormattedTableData::setOverride Method (OdInt32, OdInt32, OdInt32, OdDb::CellProperty)
Syntax
C++
virtual void setOverride(OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, OdDb::CellProperty nOverride);

Sets the override in the cell, row, column, content or grid line in the cell, row, or column. Use a valid row index and pass the column index '-1' to set the row property overrides. Use a valid column index and pass the row index '-1' to set the column property overrides. 

 

Parameters
Description
nRow
[in] Row index.
nCol
[in] Column index.
nContent
[in] Content index.
nOverride
[in] Override.

Cell property should take one of the following values: 

 

Name
Value
kCellPropInvalid
0x00000
kCellPropDataType
0x00001
kCellPropDataFormat
0x00002
kCellPropRotation
0x00004
kCellPropScale
0x00008
kCellPropAlignment
0x00010
kCellPropContentColor
0x00020
kCellPropTextStyle
0x00040
kCellPropTextHeight
0x00080
kCellPropAutoScale
0x00100
kCellPropBackgroundColor
0x00200
kCellPropMarginLeft
0x00400
kCellPropMarginTop
0x00800
kCellPropMarginRight
0x01000
kCellPropMarginBottom
0x02000
kCellPropContentLayout
0x04000
kCellPropMergeAll
0x08000
kCellPropFlowDirBtoT
0x10000
kCellPropMarginHorzSpacing
0x20000
kCellPropMarginVertSpacing
0x40000
kCellPropDataTypeAndFormat
(kCellPropDataType | kCellPropDataFormat)
kCellPropContent
(kCellPropDataType | kCellPropDataFormat |
kCellPropRotation | kCellPropScale |
kCellPropContentColor | kCellPropTextStyle |
kCellPropTextHeight | kCellPropAutoScale)
kCellPropBitProperties
(kCellPropAutoScale | kCellPropMergeAll |
kCellPropFlowDirBtoT)
kCellPropAll
(kCellPropDataType | kCellPropDataFormat |
kCellPropRotation | kCellPropScale |
kCellPropAlignment | kCellPropContentColor |
kCellPropBackgroundColor | kCellPropTextStyle |
kCellPropTextHeight | kCellPropMarginLeft |
kCellPropMarginTop | kCellPropMarginRight |
kCellPropMarginBottom | kCellPropMarginHorzSpacing |
kCellPropMarginVertSpacing | kCellPropAutoScale |
kCellPropMergeAll | kCellPropFlowDirBtoT |
kCellPropContentLayout)
Copyright © 2002-2022. Open Design Alliance All rights reserved.