Situation:
Using Aspose.Pdf.Document
First we generate the content in HTML format.
Func1:
var htmlOptions = CreateHtmlLoadOptions(marginsInInches, marginTopBotInInches, headerHeight, baseUrl, outputAreaHeight);
usin…... Note: The HtmlLoadOptions.PageInfo...refer to the official release notes before applying this guidance...