[]
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.
bool ScaleWithDocHeaderFooter { get; set; }
Property ScaleWithDocHeaderFooter As Boolean
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.ScaleWithDocHeaderFooter = true;
bool scaleWithDocHeaderFooter = pageSetup.ScaleWithDocHeaderFooter;