RadDiagram to PDF/A-1a

4 posts, 0 answers
  1. Affreux
    Affreux avatar
    4 posts
    Member since:
    May 2014

    Posted 19 Sep Link to this post

    Hello, I need to convert a RadDiagram to PDF/A-1a. I managed to convert it as an image, but that's not good enough. I need a vector format, because I need the text in the shapes, and my custom templates. Converting to SVG would be good enough, I can try to take it from there.

    I saw your sample in http://docs.telerik.com/devtools/wpf/controls/raddiagram/features/html-support, but I need images, and I use custom templates.

    I tested the ExportToPdf sample in the SDK, and it looks like a good start. I was thinking of adding image and custom shape support to it, but if it doesn't export to PDF/A-1a in the first place, it's a non starter.

    Is there a way to export a RadDiagram to a PDF/A-1a document, even if images and custom shapes aren't supported ?

  2. Martin Vatev
    Admin
    Martin Vatev avatar
    129 posts

    Posted 22 Sep Link to this post

    Hello,

    Can you please clarify whether you had the chance to take a look at the Image Export article as I assume it would be useful to you in order to export the portion of the diagram to an image? If not, can you please review it and let me know in case further assistance is needed?

    Regards,
    Martin Vatev
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
  3. nicolas
    nicolas avatar
    20 posts
    Member since:
    Mar 2017

    Posted 26 Sep Link to this post

    I'm also interested to export RadDiagram into PDF. And i need too a vector format.

    Thanks for your help.

  4. Martin Ivanov
    Admin
    Martin Ivanov avatar
    1408 posts

    Posted 29 Sep Link to this post

    Hello Nicolas,

    The ExportToPDF SDK example is the way to go. As I can see you already tried it. However, you need to export the control to PDF/A-a. Note that the RadDiagram control doesn't support exporting to PDF out of the box. Instead you can use the example which works with the RadPdfProcessing library. The document processing library doesn't support PDF/A-1a. Anyway, there is a feature that allows you to compile the document to the PDF standard when exported. You can read more about this in the How to Comply with PDF/A Standard article.

    I hope this helps.

    Regards,
    Martin Ivanov
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top