HotXLS-documentatie

Weight eigenschap

Retourneert of stelt de weight van de rand in. Read/write LongWord

Syntaxis

eigenschap Weight: LongWord;

Beschrijving

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

Voorbeeld

Dit voorbeeld stelt het gewicht van de rand rond bereik A1:C5 in

Workbook.Sheets[1].Range['A1', 'C5'].Borders[xlEdgeTop].Weight := xlThin;
Workbook.Sheets[1].Range['A1', 'C5'].Borders[xlEdgeRight].Weight := xlThin;
Workbook.Sheets[1].Range['A1', 'C5'].Borders[xlEdgeBottom].Weight := xlThin;
Workbook.Sheets[1].Range['A1', 'C5'].Borders[xlEdgeLeft].Weight := xlThin;
This example is the same to previous

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