SetCellBordersColor Method (ITable) Send Feedback
See Also 
Row
Index of the row of the cell with the specified type of Line for its border whose Color to set (see Remarks)
Column
Index of the column of the cell with the specified type of Line for its border whose Color to set (see Remarks)
LineType
Type of Line as defined in dsTableBordersLineType_e
NewVal
Color of the specified type of Line for the border of the specified cell
Sets the Color of the specified type of Line for the border of the specified cell in this Table.

Syntax

Visual Basic 
Sub SetCellBordersColor( _
   ByVal Row As System.Integer, _
   ByVal Column As System.Integer, _
   ByVal LineType As dsTableBordersLineType_e, _
   ByVal NewVal As Color _
) 
C# 
void SetCellBordersColor( 
   System.int Row,
   System.int Column,
   dsTableBordersLineType_e LineType,
   Color NewVal
)
JavaScript 
SetCellBordersColor( 
   Row : Number,
   Column : Number,
   LineType : String,
   NewVal : dsColor
)
COM native C++ 
HRESULT SetCellBordersColor( 
   LONG Row,
   LONG Column,
   dsTableBordersLineType_e LineType,
   IColor* NewVal
) 
C++ 
DSRESULT SetCellBordersColor( 
   long Row,
   long Column,
   dsTableBordersLineType_e LineType,
   dsColor* NewVal
) 

Parameters

Row
Index of the row of the cell with the specified type of Line for its border whose Color to set (see Remarks)
Column
Index of the column of the cell with the specified type of Line for its border whose Color to set (see Remarks)
LineType
Type of Line as defined in dsTableBordersLineType_e
NewVal
Color of the specified type of Line for the border of the specified cell

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