[]
Gets a picture or text to be center aligned in the page footer.
Use the returned IHeaderFooter object to configure the text or picture shown in the center section of the footer for this page.
IHeaderFooter CenterFooter { get; }
ReadOnly Property CenterFooter As IHeaderFooter
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.DifferentFirstPageHeaderFooter = true;
IHeaderFooter centerFooter = pageSetup.FirstPage.CenterFooter;
centerFooter.Text = "Page Number";
string text = centerFooter.Text;