Hi Steven,
Thank you for your interest in Syncfusion products and Sorry for the delayed response.
The following are the procedures to convert a file from HTML to PDF.
1) While converting a HTML web page to PDF, it converts the HTML Web Page as a Bitmap Image/Metafile
Image bmp = html.ConvertToImage("Sample.html"),ImageType.Bitmap)
2) Conversion of HTML to PDF makes use of HtmlConverter which converts HTML Webpage as a Bitmap/Metafile and then render's this Image/Metafile to the PDF document.
doc.LastPage.Graphics.DrawImage(PointF.Empty, bmp, dest, properties);
3) The Converted Bitmap will have low resolution but the conversion is fast.
4) The Converted Metafile will have high resolution but the conversion is slow.
5) HtmlConverter makes use of MSHTML library to render HTML documents. This library is nothing but the engine to drive Internet Explorer.
converts the web page into image[Bitmap image or metafile] using HtmlConverter and renders that image into PDF.
Since we are converting the HTML page to an image CSS capabilities will be retained.
Here is the sample for your reference.
http://websamples.syncfusion.com/samples/PDF.Windows/F_60740/main.htm'>http://websamples.syncfusion.com/samples/PDF.Windows/F_60740/main.htm">http://websamples.syncfusion.com/samples/PDF.Windows/F_60740/main.htm
Please let me know if you face any issues.
Regards,
Sarath