Change Header Margin with Google Docs API

柔情痞子 提交于 2019-12-13 02:55:18

问题


I want to add an image to the Header of a Google Document that will occupy the whole space inside the header (without any empty white spaces on either side of the image).

By default, there is indentation/margin on 3 sides of the header (top, left and right). I have successfully removed left and right margin/indentation by setting indentStart,indentFirstLine and indentEnd to 0.

Unfortunately, I cannot remove the blank space on the top of the header!

For reference: If you want to adjust the top margin of header and footer (by opening Google Docs in browser) here is how you can do it link.

So my question is - How to set "Header Margin" of Google Doc to ZERO using Google Docs API?

来源:https://stackoverflow.com/questions/57131446/change-header-margin-with-google-docs-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!