TdxSpreadSheetCell.AsInteger Property
In This Article
Specifies the cell object’s integer value.
#Declaration
Delphi
property AsInteger: Longint read; write;
#Property Value
Type |
---|
Longint |
#Remarks
You can use this property to:
Assign a new integer value to the cell object (the DataType property value changes to cdtInteger as a result);
Read an integer value stored in the cell object;
Interpret the cell object’s data as an integer value, if possible.
The AsInteger property returns 0 if it is impossible to interpret the stored cell data as an integer value (that is, if the cell object is empty or contains a string). Use the DataType property to identify the cell object’s actual value type.
See Also