Free Support Forum -

Options for Conversion



We are attempting to use GroupDocsConversion.Instance to convert an HTML file to PDF. Is it possible to set margins, or other properties of the document when calling to convert? I know in Aspose you can set encoding type, margins, etc when going from one type to another. The output PDF we have is setting a wide margin on our source document.

conversion.Convert(@“C:\temp\my.html”, @“C:\temp\my-gd.pdf”, FileType.Pdf, saveOptions: s);




Hello Mike,

Thank you for the request. Unfortunately we don’t have such options for PDF but we work on brand new Conversion which will have such options. Currently I can’t provide any ETA for this.

Please stay tuned I will notify you when it will be available.

Best regards.