Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IdxSpreadSheetCellData.GetAsVariant Method

Returns the stored cell data as a Variant value.

#Declaration

Delphi
function GetAsVariant: Variant;

#Returns

Type
Variant

#Remarks

This function works similar to GetAsFloat but can obtain the stored cell value of any supported type. To identify the actual value type, you can call the GetDataType function or use the DataType property.

The GetAsVariant is a getter of the AsVariant property.

See Also