This is a migrated thread and some comments may be shown as answers.

OrgChart Extended to Export PDF not Show in Adobe Reader

7 Answers 136 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
Gustavo
Top achievements
Rank 1
Gustavo asked on 09 Dec 2015, 05:24 PM

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

7 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Danchev
Telerik team
answered on 14 Dec 2015, 11:59 AM
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
0
Gustavo
Top achievements
Rank 1
answered on 14 Dec 2015, 08:52 PM

 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

0
Accepted
Ivan Danchev
Telerik team
answered on 15 Dec 2015, 03:23 PM
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
0
Gustavo
Top achievements
Rank 1
answered on 15 Dec 2015, 05:20 PM

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

 

 

0
Gustavo
Top achievements
Rank 1
answered on 16 Dec 2015, 08:37 PM

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

0
Accepted
Ivan Danchev
Telerik team
answered on 17 Dec 2015, 02:49 PM
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
0
Gustavo
Top achievements
Rank 1
answered on 18 Dec 2015, 05:44 PM
Thanks its working well
Tags
OrgChart
Asked by
Gustavo
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Gustavo
Top achievements
Rank 1
Share this question
or