Compartilhar via


PageSetup.ScaleWithDocHeaderFooter Property

Returns or sets if the header and footer should be scaled with the document when the size of the document changes. Read/write Boolean.

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

Syntax

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

value = instance.ScaleWithDocHeaderFooter

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

Property Value

Type: System.Boolean
Boolean

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Excel Namespace