Sample code to convert HTML markup to PDF (many advanced features not shown here):
//Code to convert HTML to PDF. The following code writes output to a file.
//You can also write output to a Stream, a PdfPage, or a PdfDocument object
Detailed documentation and sample code about this feature can be found in the