Spread for ASP.NET 7.0 Product Documentation
GetFormula Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.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 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.