C++
virtual ADESK_DEPRECATED Acad::ErrorStatus setAlignment( AcDb::CellAlignment align, int rowTypes = AcDb::kAllRows );
Description
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.
Parameters
Parameters | Description |
---|---|
align | Input cell alignment |
rowTypes | Input row types |