GetText Method (ITable)

GetText Method (ITable) | Send Feedback
See Also

CellText[out]
  Text in the cell

Row
  Row in which the cell exists

Column
  Column in which the cell exists

Gets the text in the specified cell.

# Syntax

Visual Basic |
--- | ---
    Function GetText( _
       ByVal Row As System.Integer, _
       ByVal Column As System.Integer _
    ) As System.String

C# |
--- | ---
    System.string GetText(
       System.int Row,
       System.int Column
    )

JavaScript |
--- | ---
    GetText(
       Row : Number,
       Column : Number
    ) : String

COM native C++ |
--- | ---
    HRESULT GetText(
       LONG Row,
       LONG Column,
       BSTR* CellText
    )

C++ |
--- | ---
    DSRESULT GetText(
       long Row,
       long Column,
       dsString* CellText
    )

#### Parameters

Row
  Row in which the cell exists
Column
  Column in which the cell exists
CellText[out] or Return Value
  Text in the cell

# Remarks

Before calling this method, call ITable::TotalRowCount and ITable::TotalColumnCount to get valid values for Row and Column.

# See Also

####

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

# Availability

DraftSight V1R4.0