[]
Gets or sets whether cell gridlines are printed on the page. Applies only to worksheets.
Use this property to determine whether worksheet gridlines are included in printed output.
bool PrintGridlines { get; set; }
Property PrintGridlines As Boolean
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.PrintGridlines = true;
bool printGridlines = pageSetup.PrintGridlines;