HotXLS 文档

Weight 属性

Returns or sets the weight of the borders. 读/写 LongWord

语法

property Weight: LongWord;

说明

Weight can be one of these XlBorderWeight constants
xlHairline
xlThin
xlMedium
xlThick

示例

本示例 sets the weight of border around the A1:C5 range

Workbook.Sheets[1].Range['A1', 'C5'].Borders.Weight := xlThin;