Hi,
You can get the full height with the converter but you will need to run the converter twice. The first time for getting the page height and then the second time to get the final output. There are multiple ways to do it. The following is one way to do it:
Code: C#
//Convert the contents
PdfDocument doc = new PdfDocument();
HtmlToPdfResult result = HtmlToPdf.ConvertUrl(your_url, doc);
//Get the total pixel height from the body element
int totalHeightInPixel = result.HtmlDocument.Body.PageBreakRange.Bottom;
You will need to convert the pixel height to inch:
Code: C#
//Convert pixel height to inch height
double totalHeightInInch = totalHeightInPixel / 72 * result.ZoomLevel
You can then use this height value to set HtmlToPdf.Options.PageSize and run the conversion again to output everything on a single page.
Hope this helps. Please feel free to let us know if you still have any questions.
Thanks!