Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbTableStyle::setAlignment Method (OdDb::CellAlignment, int)
Syntax
C++
virtual void setAlignment(OdDb::CellAlignment alignment, int rowTypes = OdDb::kAllRows);

Sets the cell alignment for the specified row types in this TableStyle object (DXF 170). 

 

Parameters
Description
alignment
[in] Alignment.
rowTypes
[in] Row types.

rowTypes must be a combination of one or more of the following: 

 

Name
Value
OdDb::kTitleRow
1
OdDb::kHeaderRow
2
OdDb::kDataRow
4

 

alignment must be one of the following: 

 

Name
Value
OdDb::kTopLeft
1
OdDb::kTopCenter
2
OdDb::kTopRight
3
OdDb::kMiddleLeft
4
OdDb::kMiddleCenter
5
OdDb::kMiddleRight
6
OdDb::kBottomLeft
7
OdDb::kBottomCenter
8
OdDb::kBottomRight
9
Copyright © 2002-2022. Open Design Alliance All rights reserved.