This example show the 3 easy steps to go from a WPF Visual to a PDF file using the NiPDF Converter functionality. This is a great way to generate PDF files from .NET using Microsoft's WPF drawing APIs.
This example demostrates the conversion of an XPS file to a PDF file.
This is extremely straightforward. Alternatively one could use the NiXPS.Converter.XpsToPdf() function to work with memorystreams in stead of files.