Click or drag to resize

XlsWorksheet GetCalculateValue Method

Returns the formula string if the cell contains a formula, or the value if the cell cantains anything other than a formula.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public Object GetCalculateValue(
	int row,
	int col
)

Parameters

row
Type: System Int32
The row of the cell.
col
Type: System Int32
The column of the cell.

Return Value

Type: Object
The formula string or value.
See Also