Share via


PageSetup.AlignMarginsHeaderFooter Property

Returns True for Excel to align the header and the footer with the margins set in the page setup options. Read/write Boolean.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property AlignMarginsHeaderFooter As Boolean
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As Boolean

value = instance.AlignMarginsHeaderFooter

instance.AlignMarginsHeaderFooter = value
bool AlignMarginsHeaderFooter { get; set; }

Property Value

Type: System.Boolean
Boolean

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Excel Namespace