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

GridlineColorIndex ιδιότητα

<κλάση div="indent"> <κλάση div="txt"> Gets or sets the classic XLS color index used for displayed worksheet gridlines. Read/write Integer

Σύνταξη

<κλάση div="indent"> <κλάση div="txt"> property GridlineColorIndex: Integer;

Περιγραφή

<κλάση div="indent"> <κλάση div="txt"> The value is saved in the worksheet Window2 icvHdr field. The default value is 64, which tells Excel to use the default window foreground color. When a custom index is saved, HotXLS clears the Window2 fDefaultHdr flag so Excel uses the stored color. This property controls only the displayed gridline color; use DisplayGridLines to show or hide gridlines and PageSetup.PrintGridlines to control printed gridlines

Παράδειγμα

<κλάση div="indent"> <κλάση div="txt"> This example sets the displayed gridline color index in the first sheet
<κλάση pre="code"> Workbook.Sheets[1].GridlineColorIndex := 23; <κλάση footer="reference-footer">Copyright © 2010-2026 losLab Software