Aspose::Cells::PageSetup::SetFirstPageHeader method

PageSetup::SetFirstPageHeader(int32_t, const U16String&) method

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

void Aspose::Cells::PageSetup::SetFirstPageHeader(int32_t section, const U16String &headerScript)
ParameterTypeDescription
sectionint32_t0: Left Section, 1: Center Section, 2: Right Section.
headerScriptconst U16String&Header format script.

See Also

PageSetup::SetFirstPageHeader(int32_t, const char16_t*) method

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

void Aspose::Cells::PageSetup::SetFirstPageHeader(int32_t section, const char16_t *headerScript)
ParameterTypeDescription
sectionint32_t0: Left Section, 1: Center Section, 2: Right Section.
headerScriptconst char16_t*Header format script.

See Also