NativeExcel2 for .Net Developer's Reference

IPageSetup.FooterMargin Property

Gets or sets the distance from the bottom of the page to the footer, in inches.

[Visual Basic]
PropertyFooterMarginAsDouble
[C#]
doubleFooterMargin{get;set;}
[C++]
__propertydoubleget_FooterMargin();
__propertyvoidset_FooterMargin(double);
[JScript]
functiongetFooterMargin():double
functionsetFooterMargin(double);

Property Value

Double. Distance from the bottom of the page to the footer, in inches.

Example

This example sets the footer margin of sheet one to 1/2 inches.

[C#]
book.Worksheets[1].PageSetup.FooterMargin = 0.5;
[VisualBasic]
book.Worksheets(1).PageSetup.FooterMargin = 0.5
[C++]
book->Worksheets->Item[1]->PageSetup->FooterMargin = 0.5;

See Also

IPageSetup Interface | NativeExcel Namespace | HeaderMargin | BottomMargin | TopMargin | LeftMargin | RightMargin | PageSetup Property