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
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
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
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
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
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
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