SetFirstPageHeader

PageSetup.SetFirstPageHeader method

Sets a script formatting the first page header of an Excel file. Only effect in Excel 2007 when IsHFDiffFirst is true.

public void SetFirstPageHeader(int section, string headerScript)
Parameter Type Description
section Int32 0: Left Section, 1: Center Section, 2: Right Section.
headerScript String Header format script.

See Also