Header setting

Hi
how do I adjust the settings in the red frame shown in the picture kenar boşluk.png (54.5 KB) Send sample code?

Thanks

@srmbimser,

Thanks for the screenshot.

See the following code segment for your requirements for your reference:
e.g
Sample code:

...............
Worksheet worksheet = workbook.Worksheets[0];
worksheet.PageSetup.IsHFScaleWithDoc = true;
worksheet.PageSetup.IsHFAlignMargins = true;
.........

Hope, this helps a bit.