HotXLS 文档
目录
首页
概览
TGridToXLS
IXLSWorkbook
首页
目录
概览
RCRange 属性
返回 a Range object that represents a cell or a range of cells
语法
property
RCRange[Row1, Col1, Row2, Col2: Integer]:
IXLSRange
;
Row1
Integer。一个数字,指示范围的第一行,从 1 开始(工作表第一行为 1)
Col1
Integer。一个数字,指示范围的第一列,从 1 开始(工作表第一列为 1)
Row2
Integer。一个数字,指示范围的最后一行,从 1 开始(工作表第一行为 1)
Col2
Integer。一个数字,指示范围的最后一列,从 1 开始(工作表第一列为 1)
示例
This example sets the font style in cells A1:D10 on the first sheet to bold
Workbook.Sheets[
1
].RCRange[
1
,
1
,
10
,
4
].Font.Bold := True;