Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / Camera Class / SetRefersTo Method
An integer value indicates the context row index.
An integer value indicates the context column index.
The formula in A1 format which the defined name refers to.


In This Topic
    SetRefersTo Method (Camera)
    In This Topic
    Sets the formula in A1 format which the defined name refers to.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Function SetRefersTo( _
       ByVal contextRow As Integer, _
       ByVal contextColumn As Integer, _
       ByVal refersTo As String _
    ) As Boolean
    'Usage
     
    
    Dim instance As Camera
    Dim contextRow As Integer
    Dim contextColumn As Integer
    Dim refersTo As String
    Dim value As Boolean
     
    value = instance.SetRefersTo(contextRow, contextColumn, refersTo)
    public override bool SetRefersTo( 
       int contextRow,
       int contextColumn,
       string refersTo
    )

    Parameters

    contextRow
    An integer value indicates the context row index.
    contextColumn
    An integer value indicates the context column index.
    refersTo
    The formula in A1 format which the defined name refers to.

    Return Value

    A System.Boolean value represents whether the formula is changed successfully.
    See Also