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

dxStringToReferenceArea(string) Method

Returns the rectangle corresponding to the specified reference to a cell or cell range.

#Declaration

Delphi
function dxStringToReferenceArea(const S: string): TRect;

#Parameters

Name Type
S string

#Returns

Type
TRect

#Remarks

Call this global function to obtain the rectangle describing a cell or cell range by its A1-style reference passed as the S parameter.

The dxStringToReferenceArea function is normally used for parsing formula expressions.

See Also