Spread Windows Forms 6.0 Product Documentation
ParseFormula Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > DefaultSheetDataModel Class : ParseFormula Method


row
Row index of the cell
column
Column index of the cell
value
Formula to be parsed to a string

Glossary Item Box

Parses the string value and returns the expression for the cell at the specified row and column.

Syntax

Visual Basic (Declaration) 
Public Function ParseFormula( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal value As String _
) As Expression
Visual Basic (Usage)Copy Code
Dim instance As DefaultSheetDataModel
Dim row As Integer
Dim column As Integer
Dim value As String
Dim value As Expression
 
value = instance.ParseFormula(row, column, value)
C# 
public Expression ParseFormula( 
   int row,
   int column,
   string value
)

Parameters

row
Row index of the cell
column
Column index of the cell
value
Formula to be parsed to a string

Return Value

Expression containing the parsed formula

Exceptions

ExceptionDescription
ParseException Specified value is not a valid formula

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.