HTML to PDF

Html to PDF Node allows HTML markup to be converted into a PDF document. HTML is passed into the HtmlDocument property and after processing, the PDF document is emitted as a byte array to the PdfDocument Property.

Properties

HtmlDocument

Type: Xml Input
The HTML Markup to be converted to a PDF document.

PdfDocument

Type: Object Output
The PDF document (presented as a byte array) that was generated from the HtmlDocument Property.

Remarks

Use this Node to convert HTML to a PDF document. HTML styling is preserved as far as possible.

Example

HtmlDocument

<html>
	<head>
		<style>
			h1 { color : red; } p { color:blue; font-weight:bold; }
		</style>
	</head>
	<body>
		<h1>Document Heading</h1>
		<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum efficitur massa quis orci blandit, ac commodo turpis rhoncus. 
		Suspendisse orci ipsum, placerat et scelerisque nec, fringilla in metus. Etiam vehicula sem eu tortor lacinia, at placerat erat 
		porttitor. Cras et varius lorem, nec convallis enim. Nullam sollicitudin massa posuere ipsum sagittis, a viverra justo faucibus. 
		In in sapien sit amet massa volutpat efficitur.</p>
		<p>Ut vel varius velit. Phasellus nec orci eget est pretium condimentum. 
		Etiam ac tincidunt ligula, et consectetur mauris. In condimentum justo vel urna fermentum, at rutrum dui malesuada. Maecenas dapibus 
		justo non odio tristique ornare. Vivamus nec pulvinar diam. Curabitur vulputate orci at lorem mollis, non sodales odio tincidunt.</p>
	</body>
</html>

See Also

PDF Parser
PDF Merge
PDF Splitter
PDF File Merge