Skip to main content

TdxSpreadSheetCell.AsString Property

Specifies the cell object’s string value.

Declaration

property AsString: string read; write;

Property Value

Type
string

Remarks

You can use this property to:

  • Assign a new string value to the cell object (the DataType property value changes to cdtString as a result). You can call the SetText procedure to achieve the same end;

  • Read a string value stored in the cell object;

  • Interpret the cell object’s value as a Unicode string, if possible.

The AsString property returns an empty string if the cell object is empty. To identify the cell object’s actual value type, use the DataType property.

See Also