Returns the page PrintGridlines property which specifies whether the current sheet gridlines must be printed or not.
This method doesn't have any parameters.
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); oWorksheet.SetPrintGridlines(true); oWorksheet.GetRange("A1").SetValue("Gridlines of cells will be printed on this page: " + oWorksheet.GetPrintGridlines()); builder.SaveFile("xlsx", "GetPrintGridlines.xlsx"); builder.CloseFile();