[]
Represents the header and footer sections for a specific page type.
public interface IPage
Public Interface IPage
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.DifferentFirstPageHeaderFooter = true;
IPage firstPage = pageSetup.FirstPage;
firstPage.CenterHeader.Text = "Confidential";
string text = firstPage.CenterHeader.Text;
| Name | Description |
|---|---|
| CenterFooter | 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. |
| CenterHeader | Gets a picture or text to be center aligned in the page header. Use the returned IHeaderFooter object to configure the text or picture shown in the center section of the header for this page. |
| LeftFooter | Gets a picture or text to be left aligned in the page footer. Use the returned IHeaderFooter object to configure the text or picture shown in the left section of the footer for this page. |
| LeftHeader | Gets a picture or text to be left aligned in the page header. Use the returned IHeaderFooter object to configure the text or picture shown in the left section of the header for this page. |
| RightFooter | Gets a picture or text to be right aligned in the page footer. Use the returned IHeaderFooter object to configure the text or picture shown in the right section of the footer for this page. |
| RightHeader | Gets a picture or text to be right aligned in the page header. Use the returned IHeaderFooter object to configure the text or picture shown in the right section of the header for this page. |