问题
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