[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IPageSetup.ScaleWithDocHeaderFooter

ScaleWithDocHeaderFooter Property

ScaleWithDocHeaderFooter

Gets or sets whether the header and footer are scaled with the document when the document size changes.

This setting affects whether header and footer content follows the document scaling applied during printing.

Declaration
bool ScaleWithDocHeaderFooter { get; set; }
Property ScaleWithDocHeaderFooter As Boolean
Examples
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.ScaleWithDocHeaderFooter = true;
bool scaleWithDocHeaderFooter = pageSetup.ScaleWithDocHeaderFooter;