dolanmiu / docx

Easily generate and modify .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.

Home Page:https://docx.js.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can i add background color on entire header section? please suggest me

shibuchapagain opened this issue · comments

Thank you for raising an issue to docx

Please do not raise an issue unless it is an issue.

  • Is your issue a feature request? Are you giving ideas to the community? Are you asking for help? Please raise a ticket in the Discussions section:

    https://github.com/dolanmiu/docx/discussions

  • Is your issue a previously asked? Please respond to that thread instead

This is not an issue.

Hi @shibuchapagain, I recommend creating an image (either at compile time or dynamically in code) and adding the image to the header. The image can be positioned against the left, right and top-most edges. This header was created in docx.js for example...

Screenshot 2024-03-01 at 11 10 55