HotXLS Docs

DisplayGridLines property

True if gridlines are displayed. Read/write Boolean

Syntax

property DisplayGridLines: boolean;

Description

This property affects only displayed gridlines. Use the PageSetup.PrintGridlines property to control the printing of gridlines

Example

This example toggles the display of gridlines in the first sheet

Workbook.Sheets[1].DisplayGridlines := not(Workbook.Sheets[1].DisplayGridlines);