OrgChart Extended to Export PDF not Show in Adobe Reader

8 posts, 3 answers
  1. Gustavo
    Gustavo avatar
    26 posts
    Member since:
    Jun 2014

    Posted 09 Dec 2015 Link to this post

    OrgChart Extended to Export PDF not Show in Adobe Reader 

    I'm using the functionality to export pdf (CLIENT EXPORT MANAGER ) , but when I try to export an organization chart, as it is quite large (horizontally). the Image that is created is very small, so In Adobe Reader PDF it appears small white images. Even thought if I open the PDF file on a Internet browser (such as Google Chrome or Firefox) it does display the correct images. 

     

    Greetings and thanks

  2. Answer
    Ivan Danchev
    Admin
    Ivan Danchev avatar
    837 posts

    Posted 14 Dec 2015 Link to this post

    Hello Gustavo,

    Could you please post the ClientExportManager's declaration? This will give us an idea of its configuration. In addition, could you provide the following information:
    • The version of the Adobe Reader you are using
    • The number of Nodes your OrgChart displays

    Regards,
    Ivan Danchev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Gustavo
    Gustavo avatar
    26 posts
    Member since:
    Jun 2014

    Posted 14 Dec 2015 in reply to Ivan Danchev Link to this post

     Hi

     The number of nodes are in some case of 40 nodes.follow this structure typical

    one

     |

    one
     |
    one - two - three - four - five - six

                        forty                      five  

    Thanks

    Regards

  5. Answer
    Ivan Danchev
    Admin
    Ivan Danchev avatar
    837 posts

    Posted 15 Dec 2015 Link to this post

    Hello Gustavo,

    We exported a similar OrgChart structure/node count and the output .PDF file was displayed correctly in Adobe Acrobat Reader. Here's a screenshot showing how the exported OrgChart looks like.

    I am attaching the sample page and image used as portrait in all nodes. Could you please try exporting the OrgChart and check whether it is shown as expected in Adobe Reader?

    Regards,
    Ivan Danchev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. Gustavo
    Gustavo avatar
    26 posts
    Member since:
    Jun 2014

    Posted 15 Dec 2015 in reply to Ivan Danchev Link to this post

    Hi

     The example work fine,

    The difference with your example, I use the RadBinaryImage in IE show the next mistake but in Chrome work fine.

    I think the size of file that generate or the images

     Thanks

     

     

  7. Gustavo
    Gustavo avatar
    26 posts
    Member since:
    Jun 2014

    Posted 16 Dec 2015 Link to this post

    Hi  Ivan

    I did other execise of Org Chart,

    I tested the example you sent me, and it shows everything ok, also the accents are ok (á . é) but when it's exported to PDF , it shows special characters instead of accents  

     

    Thanks & Regards

  8. Answer
    Ivan Danchev
    Admin
    Ivan Danchev avatar
    837 posts

    Posted 17 Dec 2015 Link to this post

    Hello Gustavo,

    Please see the following demo, which shows how special characters (including letters with accents (á), tildes (ñ), etc.)  can be exported with the ClientExportManager. In order to do so a font that supports Unicode characters has to be used and included in the application. In the demo we use the CODE2000 font, which we have added to a "Fonts" folder and we pass its name and path to the ClientExportManager's Fonts property in the code-behind:
    RadClientExportManager1.PdfSettings.Fonts.Add("CODE2000", "Fonts/CODE2000.ttf");

    An important detail is that the font has to be set as font-family to the element you export. As you would be able to see in the code, in the demo we export a div with class "text-container" and the .css file has the following rule which sets the font-family to that div:
    .text-container {
        font-family: 'CODE2000';
    }

    Regards,
    Ivan Danchev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  9. Gustavo
    Gustavo avatar
    26 posts
    Member since:
    Jun 2014

    Posted 18 Dec 2015 in reply to Ivan Danchev Link to this post

    Thanks its working well
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017