## PageSetup::SetIsHFAlignMargins method


Indicates whether header and footer margins are aligned with the page margins. If this property is true, the left header and footer will be aligned with the left margin, and the right header and footer will be aligned with the right margin. This option is enabled by default.

```cpp
void Aspose::Cells::PageSetup::SetIsHFAlignMargins(bool value)
```

## See Also

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