<κλάση header="doc-nav" aria-label="Πλοήγηση τεκμηρίωσης"> Τεκμηρίωση HotXLS <κλάση nav="doc-links"> Περιεχόμενα Αρχική Επισκόπηση TGridToXLS IXLSWorkbook <κλάση div="nav topic-quick-nav" aria-label="Topic shortcuts"> Αρχική Περιεχόμενα Επισκόπηση

Weight ιδιότητα

<κλάση div="indent"> <κλάση div="txt"> Επιστρέφει or sets the weight of the borders. Read/write LongWord

Σύνταξη

<κλάση div="indent"> <κλάση div="txt"> property Weight: LongWord;

Περιγραφή

<κλάση div="indent"> <κλάση div="txt"> Weight can be one of these XlBorderWeight constants <κλάση table="constlist"> <κλάση td="consti">xlHairline <κλάση td="consti">xlThin <κλάση td="consti">xlMedium <κλάση td="consti">xlThick

Παράδειγμα

<κλάση div="indent"> <κλάση div="txt"> This example sets the weight of border around the A1:C5 range
<κλάση pre="code"> Workbook.Sheets[1].Range['A1', 'C5'].Borders.Weight := xlThin; <κλάση footer="reference-footer">Copyright © 2010-2026 losLab Software