Link Search Menu Expand Document

SSpread.GetText Method

Explanation Gets the value of the specified cell as a string.

It is the same function as getting the value by Text property.
Use the GetFloat and GetInteger methods to get the cell value as a number.
Call format GetText(col, row)
Return value
Arguments col Cell column number
row Cell row number
Exception EXT-28 An error occurred in the GetText method
Example of use
    Col = 1;
    Row = 1;
    CellType = $CellTypeCurrency;
    
    SetText(1, 1, "123.45");
    var ret = GetText(1, 1);
    print(ret, ret.classname, "\n");
    
Related item Text, Value property
GetFloat, GetInteger, SetText methods