[]
Gets or sets whether the sheet is centered horizontally on the page when it's printed.
This property indicates whether the worksheet content is horizontally centered within the printable page area during printing.
bool CenterHorizontally { get; set; }
Property CenterHorizontally As Boolean
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.CenterHorizontally = true;
bool centerHorizontally = pageSetup.CenterHorizontally;