Define Page Margins When Converting HTML to DOCX

Hello,

Is there any way to define the page margins as part of the HTML body when using the /v4.0/words/convert endpoint?

Or must we always make at least two requests (one to /convert, and another to the /words/online/put/sections/{sectionIndex}/pageSetup endpoint) to update the margins of the generated DOCX file?

Thank you!

@ohthreesixtyfive

Yes, your understanding is correct; you need to use a separate API call to set the margins of a document section.

1 Like

Thank you very much for the confirmation!

1 Like