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


obj
The object consumer.
index
The index of the formula.
referenceStyle
The reference style of the formula.

Glossary Item Box

Gets the formula, as a string, of the object at the specified index.

Syntax

Visual Basic (Declaration) 
Function GetFormula( _
   ByVal obj As IExpressionConsumer, _
   ByVal index As Integer, _
   ByVal referenceStyle As ReferenceStyle _
) As String
Visual Basic (Usage)Copy Code
Dim instance As IObjectExpressionSupport
Dim obj As IExpressionConsumer
Dim index As Integer
Dim referenceStyle As ReferenceStyle
Dim value As String
 
value = instance.GetFormula(obj, index, referenceStyle)
C# 
string GetFormula( 
   IExpressionConsumer obj,
   int index,
   ReferenceStyle referenceStyle
)

Parameters

obj
The object consumer.
index
The index of the formula.
referenceStyle
The reference style of the formula.

Return Value

The formula of the object at the specified index

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.