SetCellTextStyle Method (ITable)

SetCellTextStyle Method (ITable) | Send Feedback
See Also

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

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

TextStyle
  TextStyle name to set for the specified cell in this Table

Sets the name of the TextStyle for the specified cell in this Table.

# Syntax

Visual Basic |
--- | ---
    Sub SetCellTextStyle( _
       ByVal Row As System.Integer, _
       ByVal Column As System.Integer, _
       ByVal TextStyle As System.String _
    )

C# |
--- | ---
    void SetCellTextStyle(
       System.int Row,
       System.int Column,
       System.string TextStyle
    )

JavaScript |
--- | ---
    SetCellTextStyle(
       Row : Number,
       Column : Number,
       TextStyle : String
    )

COM native C++ |
--- | ---
    HRESULT SetCellTextStyle(
       LONG Row,
       LONG Column,
       BSTR TextStyle
    )

C++ |
--- | ---
    DSRESULT SetCellTextStyle(
       long Row,
       long Column,
       const dsString& TextStyle
    )

#### Parameters

Row
  Index of the row of the cell whose TextStyle name to set (see Remarks)
Column
  Index of the column of the cell whose TextStyle name to set (see Remarks)
TextStyle
  TextStyle name to set 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::GetCellTextStyle Method ()
ITable::GetTextStyle Method ()
ITable::SetTextStyle Method ()
ITable::GetCellTextColor Method ()
ITable::GetCellTextHeight Method ()
ITable::GetText Method ()
ITable::GetTextColor Method ()
ITable::GetTextHeight Method ()
ITable::SetCellTextColor Method ()
ITable::SetCellTextHeight Method ()
ITable::SetText Method ()
ITable::SetTextColor Method ()
ITable::SetTextHeight Method ()

# Availability

DraftSight V1R6.0