[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IPage

IPage Interface

Represents the header and footer sections for a specific page type.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface IPage
Public Interface IPage
Examples
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.DifferentFirstPageHeaderFooter = true;
IPage firstPage = pageSetup.FirstPage;
firstPage.CenterHeader.Text = "Confidential";
string text = firstPage.CenterHeader.Text;

Properties

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.