Spread for ASP.NET 7.0 Product Documentation
SetFormula Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > IExpressionConsumer Interface : SetFormula Method


index
The index of the formula.
formula
The setting formula

Glossary Item Box

Sets the formula of the object at the specified index.

Syntax

Visual Basic (Declaration) 
Sub SetFormula( _
   ByVal index As Integer, _
   ByVal formula As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As IExpressionConsumer
Dim index As Integer
Dim formula As String
 
instance.SetFormula(index, formula)
C# 
void SetFormula( 
   int index,
   string formula
)

Parameters

index
The index of the formula.
formula
The setting formula

Remarks

This method is intented to be used when it is necessary to change the formula at the specified index of the IExpressionConsumer

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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