Autodesk.AutoCAD.DatabaseServices Namespace > Table Class > Table Methods > SetAlignment Method > SetAlignment(Autodesk.AutoCAD.DatabaseServices.CellAlignment, int) Method
Table.SetAlignment(Autodesk.AutoCAD.DatabaseServices.CellAlignment, int) Method   
Description

Obsolete. Sets the cell alignment for the specified row types. Different row types can be OR'd. 

The possible row type values are DataRow,TitleRow, and HeaderRow. If no row type is specified, this function sets all the possible row types. 

Possible cell alignment values are TopLeft, TopCenter, TopRight, MiddleLeft, MiddleCenter, MiddleRight, BottomLeft, BottomCenter, and BottomRight

Note: This method is deprecated and may be removed in a future release. 

Visual Basic
Public virtual Function SetAlignment(
    align As Autodesk.AutoCAD.DatabaseServices.CellAlignment, 
    rowTypes As Integer
) As void
C#
public virtual void SetAlignment(
    Autodesk.AutoCAD.DatabaseServices.CellAlignment align, 
    int rowTypes
);
Parameters
Parameters 
Description 
Autodesk.AutoCAD.DatabaseServices.CellAlignment align 
Input cell alignment 
int rowTypes 
Input row types 

Use Cell functionality instead.

Links
   Comments?