SetCellTextColor Method (ITable)

SetCellTextColor Method (ITable) | Send Feedback
See Also

Row
  Index of the row of the cell whose Color to set (see Remarks)

Column
  Index of the column of the cell whose Color to set (see Remarks)

NewColor
  Color of the text for the specified cell in this Table

Sets the Color of the text for the specified cell in this Table.

# Syntax

Visual Basic |
--- | ---
    Sub SetCellTextColor( _
       ByVal Row As System.Integer, _
       ByVal Column As System.Integer, _
       ByVal NewColor As Color _
    )

C# |
--- | ---
    void SetCellTextColor(
       System.int Row,
       System.int Column,
       Color NewColor
    )

JavaScript |
--- | ---
    SetCellTextColor(
       Row : Number,
       Column : Number,
       NewColor : dsColor
    )

COM native C++ |
--- | ---
    HRESULT SetCellTextColor(
       LONG Row,
       LONG Column,
       IColor* NewColor
    )

C++ |
--- | ---
    DSRESULT SetCellTextColor(
       long Row,
       long Column,
       dsColor* NewColor
    )

#### Parameters

Row
  Index of the row of the cell whose Color to set (see Remarks)
Column
  Index of the column of the cell whose Color to set (see Remarks)
NewColor
  Color of the text for the specified cell in this Table

# 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

####

ITable Interface
ITable Members
ITable::GetCellTextColor Method ()
ITable::GetTextColor Method ()
ITable::SetTextColor Method ()
ITable::GetCellTextHeight Method ()
ITable::GetCellTextStyle Method ()
ITable::GetText Method ()
ITable::GetTextHeight Method ()
ITable::GetTextStyle Method ()
ITable::SetCellTextHeight Method ()
ITable::SetCellTextStyle Method ()
ITable::SetText Method ()
ITable::SetTextHeight Method ()
ITable::SetTextStyle Method ()

# Availability

DraftSight V1R6.0