NativeExcel for .Net Developer's Reference

IPageSetup.LeftFooter Property

Returns or sets the left part of the footer.

[Visual Basic]
PropertyLeftFooterAsString
[C#]
stringLeftFooter{get;set;}
[C++]
__propertyString*get_LeftFooter();
__propertyvoidset_LeftFooter(String*);
[JScript]
functiongetLeftFooter():String
functionsetLeftFooter(String);

Property Value

String. Left part of the footer.

Remarks

Special format codes can be used in the footer text.

Example

This example prints the page number in the lower-left corner of every page.

[C#]
book.Worksheets[1].PageSetup.LeftFooter = "&P";
[VisualBasic]
book.Worksheets(1).PageSetup.LeftFooter = "&P"
[C++]
book->Worksheets->Item[1]->PageSetup->LeftFooter = S"&P";

See Also

IPageSetup Interface | NativeExcel Namespace | Special Formatting Codes | CenterHeader | RightHeader | RightHeader | CenterFooter | CenterFooter | PageSetup Property