PageSetup.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)
ParameterTypeDescription
sectionInt320: Left Section, 1: Center Section, 2: Right Section.
headerScriptStringHeader format script.

See Also