SetCellBackgroundColor Method (ITable) Send Feedback
See Also  Example
Row
Index of the row of the cell whose background Color to set (see Remarks)
Column
Index of the column of the cell whose background Color to set (see Remarks)
NewVal
Background Color
Sets the background Color of the specified cell in this Table.

Syntax

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

Parameters

Row
Index of the row of the cell whose background Color to set (see Remarks)
Column
Index of the column of the cell whose background Color to set (see Remarks)
NewVal
Background Color

Example

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