Hide Grid Lines

How do you hide grid lines for a work book? Thanks!

1 Reply

MW Melba Winshia Syncfusion Team February 23, 2007 12:43 PM UTC

Hi CB,

You can hide gridlines by setting the IsGridLinesVisible property of IWorksheet to false. Please refer the following code snippet which illustrates the above:

[C#]

// Hide Grid Lines
sheet.IsGridLinesVisible=false;

Please refer the following sample which implements the above said feature:

GridLines.zip

Kindly take a look at the sample above and let me know if you have any other questions.

Regards,
Melba

Loader.
Up arrow icon