Spread Windows Forms 7.0 Product Documentation
UpdateFormulasWhenModelChanged Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > IObjectExpressionSupport Interface : UpdateFormulasWhenModelChanged Method


newModel
The old data model
oldModel
The new data model

Glossary Item Box

Updates all formulas of all the IExpressionConsumer object when changing the data model of a sheet in Spread.

Syntax

Visual Basic (Declaration) 
Sub UpdateFormulasWhenModelChanged( _
   ByVal newModel As ISheetDataModel, _
   ByVal oldModel As ISheetDataModel _
) 
Visual Basic (Usage)Copy Code
Dim instance As IObjectExpressionSupport
Dim newModel As ISheetDataModel
Dim oldModel As ISheetDataModel
 
instance.UpdateFormulasWhenModelChanged(newModel, oldModel)
C# 
void UpdateFormulasWhenModelChanged( 
   ISheetDataModel newModel,
   ISheetDataModel oldModel
)

Parameters

newModel
The old data model
oldModel
The new data model

Remarks

This method is intented to be used when it is necessary to update the formula at the specified index of the IExpressionConsumer. This API supports the Spread infrastructure and is not intended to be used directly from your code

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.