Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetDataModel Class / AddCustomName Method / AddCustomName(String,String,Int32,Int32) Method
Name of the expression to add (used in formulas to reference the value)
Value of the expression (used in formulas for evaluation)
Base row index for computing relative cell references
Base column index for computing relative cell references
Example


In This Topic
    AddCustomName(String,String,Int32,Int32) Method
    In This Topic
    Adds a named expression to the model for use in formulas.
    Syntax
    'Declaration
     
    
    Public Overloads Sub AddCustomName( _
       ByVal name As String, _
       ByVal value As String, _
       ByVal baseRow As Integer, _
       ByVal baseColumn As Integer _
    ) 
    'Usage
     
    
    Dim instance As DefaultSheetDataModel
    Dim name As String
    Dim value As String
    Dim baseRow As Integer
    Dim baseColumn As Integer
     
    instance.AddCustomName(name, value, baseRow, baseColumn)
    public void AddCustomName( 
       string name,
       string value,
       int baseRow,
       int baseColumn
    )

    Parameters

    name
    Name of the expression to add (used in formulas to reference the value)
    value
    Value of the expression (used in formulas for evaluation)
    baseRow
    Base row index for computing relative cell references
    baseColumn
    Base column index for computing relative cell references
    Remarks
    Adds a named string (for use in formulas) to the model with relative cell references.
    Example
    This example adds a custom name to the model using the specified string of a function and the cell references.
    See Also