Package com.grapecity.documents.excel
Class RangeTemplateCellType
java.lang.Object
com.grapecity.documents.excel.BaseCellType
com.grapecity.documents.excel.RangeTemplateCellType
RangeTemplate provide a template from a range of referenced worksheet, it can apply to a cell. It will render the cell same as the template and fill data differently. If the param row, col, rowCount, colCount not set, it will use the sheet's usedrange as the range scope.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the RangeTemplateCellType class.RangeTemplateCellType(IRange range) Use a specific range to create a RangeTemplateCellType.RangeTemplateCellType(IWorksheet worksheet) Use a worksheet and it's used range info to create a RangeTemplateCellType.RangeTemplateCellType(IWorksheet worksheet, int row, int column, int rowCount, int columnCount) Use a worksheet and specific range to create a RangeTemplateCellType. -
Method Summary
-
Constructor Details
-
RangeTemplateCellType
public RangeTemplateCellType()Initializes a new instance of the RangeTemplateCellType class. -
RangeTemplateCellType
Use a worksheet and it's used range info to create a RangeTemplateCellType.- Parameters:
worksheet- AnIWorksheetobject that used to be referenced. The sheet could be an individual sheet outside the workbook.
-
RangeTemplateCellType
public RangeTemplateCellType(IWorksheet worksheet, int row, int column, int rowCount, int columnCount) Use a worksheet and specific range to create a RangeTemplateCellType.- Parameters:
worksheet- AnIWorksheetobject that used to be referenced. The sheet could be an individual sheet outside the workbook.row- the template scope start row.column- the template scope start column.rowCount- the template scope row count.columnCount- the template scope column count.
-
RangeTemplateCellType
Use a specific range to create a RangeTemplateCellType.- Parameters:
range- AnIRangeobject that used to be referenced.
-