private void setPageLayout() { _worksheet.View.ShowGridLines = ShowGridLines; _worksheet.View.PageLayoutView = PageLayoutView; }