Copies the formula from a source cell to a destination cell, adjusting relative references.
Namespace:
C1.Silverlight.ExcelAssembly: C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)
Syntax
C# |
---|
public void CopyFormula( int rowFrom, int colFrom, int rowTo, int colTo ) |
Visual Basic |
---|
Public Sub CopyFormula ( _ rowFrom As Integer, _ colFrom As Integer, _ rowTo As Integer, _ colTo As Integer _ ) |
Parameters
- rowFrom
- Type: System..::..Int32
The row index of a source cell with exist formula.
- colFrom
- Type: System..::..Int32
The column index of a source cell with exist formula.
- rowTo
- Type: System..::..Int32
The row index of a destination cell for copies the formula.
- colTo
- Type: System..::..Int32
The column index of a destination cell for copies the formula.