WPF to PDF

后端 未结 3 1698
星月不相逢
星月不相逢 2020-12-14 11:32

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

相关标签:
3条回答
  • 2020-12-14 11:56

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

    0 讨论(0)
  • 2020-12-14 12:03

    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

    0 讨论(0)
  • 2020-12-14 12:04

    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.

    0 讨论(0)
提交回复
热议问题