SpreadsheetGear 2023
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.
Sub GetFormula( _
   ByVal buffer As System.Text.StringBuilder _
Dim instance As IValue
Dim buffer As System.Text.StringBuilder
void GetFormula( 
   System.Text.StringBuilder buffer


The buffer into which the formula will be placed.

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


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