Hi,
There are two things involved. The first is you need to specify the target page. The second is that you need to specify the target location.
To specify the target page, you would call ConvertHtml(html, pdfPage). For example, the following code put your HTML on the first page of the PdfDocument:
Code: C#
//Note here the second argument is a PdfPage object, not a PdfDocument object
HtmlToPdf.ConvertHtml(html, doc.Pages[0]);
The second thing is you need to be able to position the HTML. There are two ways to do that:
1. Set HtmlToPdf.Options.OutputArea:
http://www.essentialobjects.com/doc/4/htmltopdf/page_size.aspxBasically, if you want your HTML to appear at x = 4 inch, y = 5 inch, you set your page to have a 4 inch margin on the left and 5 inch margin on the top.
2. Alternatively, you can use the default margin but use absolute positioning in your HTML. For example, instead of convert "some text", you can convert:
Code: HTML/ASPX
<div style="left:100px;top:200px;">some text</div>
Here the outter DIV is used to position the text.
Hope this helps. Please feel free to let us know if there is anything else.
Thanks!