HotXLS 文件

OutlineLevel 屬性

傳回或設定指定列或欄目前的大綱層級

語法

property OutlineLevel: Integer;

範例

property OutlineLevel: Integer;

範例

This example sets the outline level for row two on sheet one

Workbook.Sheets[1].Cells.Rows[2].OutlineLevel := 1;
This example sets the outline level for rows three through five on sheet one

Workbook.Sheets[1].RCRange[3,1,5,1].Rows.OutlineLevel := 2;
This example sets the outline level for column three on sheet one

Workbook.Sheets[1].Cells.Columns[3].OutlineLevel := 1;
This example sets the outline level for columns two through five on sheet one

Workbook.Sheets[1].RCRange[1,2,1,5].Columns.OutlineLevel := 2;

另請參閱

Group method
UnGroup method
ClearOutline method