NativeExcel suite v2.x

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);
Copyright © NikaSoft 2004-2012