SetCellAlignment Method (ITable) Send Feedback
See Also 
Row
Index of the row of the cell in which to set the justification and alignment of the text (see Remarks)
Column
Index of the column of the cell in which to set the justification and alignment of the text (see Remarks)
Alignment
Justification and alignment of the text in the specified cell in this Table as defined in dsTableCellAlignment_e
Sets the justification and alignment of the text in the specified cell in this Table.

Syntax

Visual Basic 
Sub SetCellAlignment( _
   ByVal Row As System.Integer, _
   ByVal Column As System.Integer, _
   ByVal Alignment As dsTableCellAlignment_e _
) 
C# 
void SetCellAlignment( 
   System.int Row,
   System.int Column,
   dsTableCellAlignment_e Alignment
)
JavaScript 
SetCellAlignment( 
   Row : Number,
   Column : Number,
   Alignment : String
)
COM native C++ 
HRESULT SetCellAlignment( 
   LONG Row,
   LONG Column,
   dsTableCellAlignment_e Alignment
) 
C++ 
DSRESULT SetCellAlignment( 
   long Row,
   long Column,
   dsTableCellAlignment_e Alignment
) 

Parameters

Row
Index of the row of the cell in which to set the justification and alignment of the text (see Remarks)
Column
Index of the column of the cell in which to set the justification and alignment of the text (see Remarks)
Alignment
Justification and alignment of the text in the specified cell in this Table as defined in dsTableCellAlignment_e

Remarks

To determine a valid index for the row or column:
Get the total number of... Using...
Rows ITable::TotalRowCount
Columns ITable::TotalColumnCount
 

See Also

Availability

DraftSight V1R6.0