HotXLS 文件
目錄
首頁
概述
TGridToXLS
IXLSWorkbook
首頁
目錄
概述
ColumnWidth 屬性
傳回或設定指定範圍中所有欄的
寬度
。可讀寫 OleVariant
語法
property
ColumnWidth: OleVariant;
備註
一個欄寬單位等於標準樣式中一個字元的寬度。對於比例字型,使用字元 0(零)的寬度
範例
此範例設定工作表一第一欄的欄寬
With
Workbook.Sheets[
1
].Range[
'A1'
,
'A1'
]
do
begin
ColumnWidth := ColumnWidth *
2
;
end
;