Skip to main content

TdxSpreadSheetCustomFormula.SourceText Property

Specifies the source text string of the parsed formula expression.

Declaration

property SourceText: string read; write;

Property Value

Type
string

Remarks

This property stores the text string that is parsed to tokens by the formula controller. If a parsing error occurs (due to occurrence of delimiter characters within the string that are not specified in the FormatSettings property set, for instance), the ErrorCode returns a zero-based index of the first unrecognized character within the string.

SourceText returns the same text as the AsText property, except for the equals sign.

Note

Normally, the SourceText property supports the internal infrastructure and is not intended to be used directly from your code. Changing this property value does not result in re-parsing of the formula expression.

See Also