[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IRange.AutoFill

AutoFill Method

AutoFill(string, AutoFillType)

Performs an autofill on the cells in the specified range.

Declaration
void AutoFill(string destination, AutoFillType type = AutoFillType.FillCopy)
Sub AutoFill(destination As String, Optional type As AutoFillType = AutoFillType.FillCopy)
Parameters
Type Name Description
string destination

The cells to be filled. The destination must include the source range.

AutoFillType type

Specifies the fill type.

AutoFill(int, int, int, int, AutoFillType)

Performs an autofill on the cells in the specified range.

Declaration
void AutoFill(int row, int column, int row2, int column2, AutoFillType type = AutoFillType.FillCopy)
Sub AutoFill(row As Integer, column As Integer, row2 As Integer, column2 As Integer, Optional type As AutoFillType = AutoFillType.FillCopy)
Parameters
Type Name Description
int row
int column
int row2
int column2
AutoFillType type

Specifies the fill type.