TdxSpreadSheetCell.AsBoolean Property
Specifies the cell object’s Boolean value.
Declaration
property AsBoolean: Boolean read; write;
Property Value
Type |
---|
Boolean |
Remarks
You can use this property to:
Assign a new Boolean value to the cell object (the DataType property value changes to cdtBoolean as a result);
Read a Boolean value stored in the cell object;
Interpret the cell object’s data as a Boolean value, if possible.
The AsBoolean property returns False if the cell object is empty, or stores a Unicode string, or a zero numeric value. Use the DataType property to identify the cell object’s actual value type.
See Also