[]
Gets or sets the size of the header margin, in points.
Use this property to retrieve the current header margin configured in the page setup for printing.
double HeaderMargin { get; set; }
Property HeaderMargin As Double
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.HeaderMargin = 18;
double headerMargin = pageSetup.HeaderMargin;