## 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.

```cpp
void Aspose::Cells::PageSetup::SetFirstPageHeader(int32_t section, const U16String &headerScript)
```


| Parameter | Type | Description |
| --- | --- | --- |
| section | int32_t | 0: Left Section, 1: Center Section, 2: Right Section. |
| headerScript | const U16String\& | Header format script. |

## See Also

* Class [Vector](../../vector/)
* Class [U16String](../../u16string/)
* Class [PageSetup](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## 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.

```cpp
void Aspose::Cells::PageSetup::SetFirstPageHeader(int32_t section, const char16_t *headerScript)
```


| Parameter | Type | Description |
| --- | --- | --- |
| section | int32_t | 0: Left Section, 1: Center Section, 2: Right Section. |
| headerScript | const char16_t* | Header format script. |

## See Also

* Class [Vector](../../vector/)
* Class [PageSetup](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
