SpreadsheetGear 2017
GetFormula Method (IValue)






SpreadsheetGear.Advanced.Cells Namespace > IValue Interface : GetFormula Method
The buffer into which the formula will be placed.
Returns the formula of this cell in the specified buffer, or sets the length of the buffer to zero if the cell does not contain a formula.
Syntax
'Declaration
 
Sub GetFormula( _
   ByVal buffer As System.Text.StringBuilder _
) 
'Usage
 
Dim instance As IValue
Dim buffer As System.Text.StringBuilder
 
instance.GetFormula(buffer)
void GetFormula( 
   System.Text.StringBuilder buffer
)
procedure GetFormula( 
    buffer: System.Text.StringBuilder
); 
function GetFormula( 
   buffer : System.Text.StringBuilder
);
void GetFormula( 
   System.Text.StringBuilder* buffer
) 
void GetFormula( 
   System.Text.StringBuilder^ buffer
) 

Parameters

buffer
The buffer into which the formula will be placed.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IValue Interface
IValue Members
Formula Property
HasFormula Property
IValues Interface
SetFormula(Int32,Int32,StringBuilder) Method