Situation:
Using Aspose.Pdf.Document
First we generate the content in HTML format.
Func1:
var htmlOptions = CreateHtmlLoadOptions(marginsInInches, marginTopBotInInches, headerHeight, baseUrl, outputAreaHeight);
usin…...outputAreaHeight); using (var htmlStream = new MemoryStream(Encoding.UTF8.GetBytes(content)))...GetBytes(content))) { var tempDoc = new Aspose.Pdf.Document(htmlStream...