[GH-ISSUE #275] How set footer and header margins #217

Closed
opened 2026-05-05 11:57:26 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @sapomuyverde on GitHub (Mar 4, 2020).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/275

Originally assigned to: @jmcnamara on GitHub.

Hi,
I have been able to set the margins of the excel sheet with the function worksheet_set_margins(worksheet, 0.19685, 0.19685, 0.19685, 0.393701), but I still can't grasp how to set the header and footer margins.

I appreciate any tip.

Regards,
Javier

Originally created by @sapomuyverde on GitHub (Mar 4, 2020). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/275 Originally assigned to: @jmcnamara on GitHub. Hi, I have been able to set the margins of the excel sheet with the function worksheet_set_margins(worksheet, 0.19685, 0.19685, 0.19685, 0.393701), but I still can't grasp how to set the header and footer margins. I appreciate any tip. Regards, Javier
gitea-mirror 2026-05-05 11:57:26 -06:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@jmcnamara commented on GitHub (Mar 4, 2020):

See the worksheet_set_header_opt() function:

http://libxlsxwriter.github.io/worksheet_8h.html#ab913a06656ecf28292d6b21d3c3eaaac

<!-- gh-comment-id:594752649 --> @jmcnamara commented on GitHub (Mar 4, 2020): See the `worksheet_set_header_opt()` function: http://libxlsxwriter.github.io/worksheet_8h.html#ab913a06656ecf28292d6b21d3c3eaaac
Author
Owner

@sapomuyverde commented on GitHub (Mar 9, 2020):

Hi,
I appreciate your time and your help.

Regards,
Javier

<!-- gh-comment-id:596282038 --> @sapomuyverde commented on GitHub (Mar 9, 2020): Hi, I appreciate your time and your help. Regards, Javier
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#217
No description provided.