Interface IFooter
Interface for worksheet footer
Namespace: IronXL.Layout
Assembly: IronXL.dll
Syntax
public interface IFooter : IHeaderFooter
When a printed worksheet needs text along the bottom of every page, a page number, a confidentiality note, or a filename, IFooter is the contract that holds it. It is what a worksheet returns specifically for the bottom-of-page band, the counterpart to the header that prints across the top. A developer assigns text to its three positioned zones so a printed or exported spreadsheet carries a consistent footer without editing the file by hand in Excel.
A developer obtains an IFooter from WorkSheet.Footer; there is no constructor, and the footer belongs to its worksheet. IFooter extends IHeaderFooter and declares no members of its own, so its editable surface is entirely inherited: the Left, Center, and Right properties, each a readable and writable string, hold the text for the left, center, and right zones of the footer band. The matching IHeader, returned by WorkSheet.Header, shares the same inherited surface; the two types differ only in which page band they target. Set the zones a layout needs and save the workbook to apply them to print output.
IFooter footer = sheet.Footer;
footer.Center = "Page &P of &N";
footer.Right = "Confidential";The Excel print setup example configures a sheet for printing, where footer text prints on each page, and the IHeaderFooter reference documents the inherited Left, Center, and Right zones.