Spread Windows Forms 7.0 Product Documentation
SetFormula Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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