[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.RangeTemplateCellType.-ctor

RangeTemplateCellType Constructor

RangeTemplateCellType(IWorksheet, int, int, int, int)

Initializes a new instance of the RangeTemplateCellType class with a worksheet and template range information.

If rowCount or columnCount is less than or equal to 0, the worksheet's used range is used as the template scope.

Declaration
public RangeTemplateCellType(IWorksheet worksheet, int row = 0, int column = 0, int rowCount = 0, int columnCount = 0)
Public Sub New(worksheet As IWorksheet, Optional row As Integer = 0, Optional column As Integer = 0, Optional rowCount As Integer = 0, Optional columnCount As Integer = 0)
Parameters
Type Name Description
IWorksheet worksheet

The IWorksheet object used as the template source. The sheet can be outside the workbook.

int row

The starting row of the template scope.

int column

The starting column of the template scope.

int rowCount

The row count of the template scope.

int columnCount

The column count of the template scope.

RangeTemplateCellType(IRange)

Initializes a new instance of the RangeTemplateCellType class with a template range.

Declaration
public RangeTemplateCellType(IRange range)
Public Sub New(range As IRange)
Parameters
Type Name Description
IRange range

The IRange object used as the template source.