Share

AcDbTable::setAlignment

C++

virtual Acad::ErrorStatus setAlignment(
    int row, 
    int col, 
    AcDb::CellAlignment align
);

Description

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.

Parameters

Parameters Description
row Input integer specifying the zero-based row index for the cell
col Input integer specifying the zero-based column index for the cell
align Input enum value specifying the cell alignment

Links

AcDbTable

Was this information helpful?