HotXLS Docs
Index
Main
Overview
TGridToXLS
IXLSWorkbook
Main
Index
Overview
Weight property
Yields or sets the
weight
of the
borders
. Read/write LongWord
Syntax
property
Weight
: LongWord;
Overview
Weight can be one of these XlBorderWeight constants
xlHairline
xlThin
xlMedium
xlThick
Example
This example sets the weight of border around the A1:C5 range
Workbook.Sheets[
1
].Range[
'A1'
,
'C5'
].Borders.Weight := xlThin;