## PageSetup::GetCommands(const U16String\&) method


Gets all commands of header or footer.

```cpp
Vector<HeaderFooterCommand> Aspose::Cells::PageSetup::GetCommands(const U16String &headerFooterScript)
```


| Parameter | Type | Description |
| --- | --- | --- |
| headerFooterScript | const U16String\& | The header/footer script |

## ReturnValue

Returns all commands of header or footer.

## See Also

* Class [Vector](../../vector/)
* Class [HeaderFooterCommand](../../headerfootercommand/)
* Class [U16String](../../u16string/)
* Class [PageSetup](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
## PageSetup::GetCommands(const char16_t*) method


Gets all commands of header or footer.

```cpp
Vector<HeaderFooterCommand> Aspose::Cells::PageSetup::GetCommands(const char16_t *headerFooterScript)
```


| Parameter | Type | Description |
| --- | --- | --- |
| headerFooterScript | const char16_t* | The header/footer script |

## ReturnValue

Returns all commands of header or footer.

## See Also

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