[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Model.DefaultSheetDataModel.AddCustomName

AddCustomName Method

AddCustomName(string, string, int, int)

Adds a named expression to the model for use in formulas.

Declaration
public void AddCustomName(string name, string value, int baseRow, int baseColumn)
Public Sub AddCustomName(name As String, value As String, baseRow As Integer, baseColumn As Integer)
Parameters
Type Name Description
string name

Name of the expression to add (used in formulas to reference the value)

string value

Value of the expression (used in formulas for evaluation)

int baseRow

Base row index for computing relative cell references

int baseColumn

Base column index for computing relative cell references

Implements

AddCustomName(string, string, int, int, string)

Adds a new user-defined name to the model using the specified string value.

Declaration
public void AddCustomName(string name, string value, int baseRow, int baseColumn, string comment)
Public Sub AddCustomName(name As String, value As String, baseRow As Integer, baseColumn As Integer, comment As String)
Parameters
Type Name Description
string name

Name to add

string value

Value for name, as string

int baseRow

Base row index for calculating relative row references in the value

int baseColumn

Base column index for calculating relative column references in the value

string comment

Comment for the custom name

Implements