We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

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.
Live Chat Icon For mobile
Up arrow icon