Creates an XLNamedRange object and appends it to the collection.
Namespace:
C1.Silverlight.ExcelAssembly: C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)
Syntax
C# |
---|
public XLNamedRange Add( string name, XLSheet sheet, int rowIndex, int colIndex, int rowCount, int colCount ) |
Visual Basic |
---|
Public Function Add ( _ name As String, _ sheet As XLSheet, _ rowIndex As Integer, _ colIndex As Integer, _ rowCount As Integer, _ colCount As Integer _ ) As XLNamedRange |
Parameters
- name
- Type: System..::..String
The name of XLNamedRange object.
- sheet
- Type: C1.Silverlight.Excel..::..XLSheet
The worksheet containing the range.
- rowIndex
- Type: System..::..Int32
The index of the top row in the cell range.
- colIndex
- Type: System..::..Int32
The index of the left column in the cell range.
- rowCount
- Type: System..::..Int32
The number of rows in the cell range.
- colCount
- Type: System..::..Int32
The number of columns in the cell range.