Products
TallPDF.NET 4.0
Created
7/7/2014
Tags
Generate PDF

This code sample shows how to convert XSL and XML to PDF using TallPDF.NET

// Load XSL XslTransform xsl = new XslTransform(); xsl.Load( "transform.xsl" );

// Transform XmlReader reader = xsl.Transform( xml, null );

// Write PDF Document doc = new Document(); doc.Read( reader );

using( FileStream file = new FileStream( "out.pdf", FileMode.Create, FileAccess.ReadWrite ) ) { doc.Write( file ); }]]>