How to set margin in HTML to PDF conversion using Aspsoe.PDF Cloud REST API

Hi, I want to know how can i setup default margin when creating a pdf from a html file. Started from this example Convert HTML to PDF|Documentation

Also I would like to know if there is a built in way to set up header a footer on every page of a pdf document using the cloud api.

Thanks in advance.

bruno9:

Also I would like to know if there is a built in way to set up header a footer on every page of a pdf document using the cloud api.
Hi Bruno,

Thanks for contacting support and sorry for the delayed response.

In order to add Header / Footer information on all pages,please follow the instructions specified over

@bruno9

Lately, we have introduced all four types of margins in the HTML to PDF conversion APIs. You can set it as per your requirement.