Share

setAlignment Method

Overload List

Method Description
AcDbTable::setAlignment (AcDb::CellAlignment, int) This function sets the cell alignment for the specified row types. Different row types can be OR'd.The possible row type values are AcDb::kDataRow, AcDb::kTitleRow, and AcDb::kHeaderRow. If no row type is specified, this function sets all the possible row types.Possible cell alignment values are AcDb::kTopLeft, AcDb::kTopCenter, AcDb::kTopRight, AcDb::kMiddleLeft, AcDb::kMiddleCenter, AcDb::kMiddleRight, AcDb::kBottomLeft, AcDb::kBottomCenter, and AcDb::kBottomRight. Returns Acad::eOk if successful. Otherwise, returns Acad::eInvalidInput.This method is deprecated and may be removed in a future release.
AcDbTable::setAlignment (int, int, AcDb::CellAlignment) This function sets the alignment of the text or block in the specified cell of the table.Possible cell alignment values are AcDb::kTopLeft, AcDb::kTopCenter, AcDb::kTopRight, AcDb::kMiddleLeft, AcDb::kMiddleCenter, AcDb::kMiddleRight, AcDb::kBottomLeft, AcDb::kBottomCenter, and AcDb::kBottomRight. Returns Acad::eOk if successful. Otherwise, returns Acad::eInvalidInput.

Was this information helpful?