Thu Mar 30, 2023 3:50 pm
hello, the desired effect for which I have not found a property is to adjust all the contents of the pdf almost completely on the left side, so you can see in the pdf that I send that the left side has a very large space between the information and the beginning from the sheet on the left side, could there be a setting in this code that I use to reduce that and make it look more proportional?
I share the code...
var memoryStream = new MemoryStream();
HtmlConverter.Convert(htmlDocument, memoryStream,
true, 100000, new SizeF(993,1133),
new Spire.Pdf.Graphics.PdfMargins(0,0),
LoadHtmlType.SourceCode);