We have done a HTML -> PDF conversion using Aspose.Pdf dll. The code, html files and the resulting pdf are present the attached zip. Aspose.zip (475.5 KB)
The section number and text are not top aligned. If you look at section number (2.1) and text (First open ended question with and inline question), they are not top aligned in the pdf as they are in html.
The zip files contains:-
- code.txt: The code used to convert report, header and footer html files to a pdf file.
- resulting_report.pdf: The resulting pdf file.
Please have a look at it asap.