Skip to main content

TdxSpreadSheetCellDataType Enum

Enumerates available data types for values that can be stored by cell objects.

Declaration

TdxSpreadSheetCellDataType = (
    cdtBlank,
    cdtBoolean,
    cdtError,
    cdtCurrency,
    cdtFloat,
    cdtDateTime,
    cdtInteger,
    cdtString,
    cdtFormula
);

Members

Name
cdtBlank
cdtBoolean
cdtError
cdtCurrency
cdtFloat
cdtDateTime
cdtInteger
cdtString
cdtFormula

Remarks

Options include:

Value

Description

cdtBlank

A cell object is empty.

cdtBoolean

Corresponds to a Boolean value stored by a cell object. Refer to the TdxSpreadSheetCell.AsBoolean property description.

cdtError

An initialized cell stores any error code except ecNone. Refer to the TdxSpreadSheetCell.AsError property description.

cdtCurrency

Corresponds to a Currency value stored by a cell object. Refer to the TdxSpreadSheetCell.AsCurrency property description.

cdtFloat

Corresponds to a Double value stored by a cell object. Refer to the TdxSpreadSheetCell.AsFloat property description.

cdtDateTime

Corresponds to a TDateTime value stored by a cell object. Refer to the TdxSpreadSheetCell.AsDateTime property description.

cdtInteger

Corresponds to a Longint value stored by a cell object. Refer to the TdxSpreadSheetCell.AsInteger property description.

cdtString

Corresponds to a string value stored by a cell object. Refer to the TdxSpreadSheetCell.AsString property description.

cdtFormula

A cell object contains a formula expression for performing calculations. Refer to the TdxSpreadSheetCell.AsFormula property description.

The TdxSpreadSheetCellDataType type is referenced by the cell object’s DataType property.

See Also