WPF to PDF

27,317

Solution 1

If you got your WPF visual tree rendered in to XPS then try this XPS to PDF converter NIXPS.

Solution 2

For this sceneario I recommend using XpsDocumentWriter class to get a XPS document, then converting it to PDF using Amyuni PDF Creator
Disclaimer: I work for Amyuni Technologies

Solution 3

We have just released a new library that facilitates this: NiPDF v1.0

Here is a link to an example on our site that converts WPF to PDF.

It is a 100% managed .NET assembly, and you don't need to learn an arcane API top be able to use it.

Share:
27,317
Nir
Author by

Nir

Updated on July 09, 2022

Comments

  • Nir
    Nir almost 2 years

    I have a WPF application and I want to be able to save the output of the application to a PDF document, the item I want to save can be a Visual a Drawing or a FixedDocument (I can create it as any of those options, and it's easy to convert between them).

    Is there any library that can convert directly from WPF to PDF (without writing code to walk the visual tree and recreate it using PDF primitives).

  • Michael
    Michael about 13 years
    Do you offer any sort of free support for people evaluating your product? The forums are close to dead and there are several questions about your product that have gone unanswered.
  • yms
    yms about 13 years
    @Mick Yes, there is free support during evaluation.