Hi, I wanted to add Different margins for the header & document content.
The header is an image. I am using HTML to create the document content ( embedHTML )
I have updated the document margin using the following code:
$docx->modifyPageLayout(
'A4',
array(
'marginHeader' => 500,
'marginLeft' => 0,
'marginRight' => 0,
)
);
My issue is that it updates the margin for the entire document. I wanted it to have 0 margins for the header & 500 margins for document content.
let me know how I can achieve that.
Thanks in advance