Dokumentacija HotXLS
Sadržaj
Početna
Pregled
TGridToXLS
IXLSWorkbook
Početna
Sadržaj
Pregled
Weight svojstvo
Vraća or sets the weight of the border. Read/write LongWord
Sintaksa
property Weight: LongWord;
Opis
Weight can be one of these XlBorderWeight constants
xlHairline
xlThin
xlMedium
xlThick
Primer
This example sets the weight of border around the A1:C5 range
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;
Copyright © 2010-2026 losLab Software