Situation:
Using Aspose.Pdf.Document
First we generate the content in HTML format.
Func1:
var htmlOptions = CreateHtmlLoadOptions(marginsInInches, marginTopBotInInches, headerHeight, baseUrl, outputAreaHeight);
usin…...NET does not provide a built‑in “auto‑scale / zoom‑to‑fit”...load HTML with new Document(stream, htmlOptions) , the converter...