Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / AutoFillCommand Class / AutoFillCommand Constructor
A GrapeCity.Spreadsheet.Worksheet object indicates the worksheet.
the start range is filled
The top row of cells to be filled.
The left column of cells to be filled.
The bottom row of cells to be filled.
The right column of cells to be filled.
Specifies the fill type.


In This Topic
AutoFillCommand Constructor
In This Topic
Initializes a new instance of the AutoFillCommand class.
Syntax
'Declaration
 
Public Function New( _
   ByVal worksheet As Worksheet, _
   ByVal range As Reference, _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal row2 As Integer, _
   ByVal column2 As Integer, _
   ByVal type As AutoFillType _
)
 
'Usage
 
Dim worksheet As Worksheet
Dim range As Reference
Dim row As Integer
Dim column As Integer
Dim row2 As Integer
Dim column2 As Integer
Dim type As AutoFillType
 
Dim instance As New AutoFillCommand(worksheet, range, row, column, row2, column2, type)

Parameters

worksheet
A GrapeCity.Spreadsheet.Worksheet object indicates the worksheet.
range
the start range is filled
row
The top row of cells to be filled.
column
The left column of cells to be filled.
row2
The bottom row of cells to be filled.
column2
The right column of cells to be filled.
type
Specifies the fill type.
See Also