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

Org Chart PDF Export size

1 Answer 29 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 06 Oct 2015, 11:01 AM

Hi

 Is there a way to set the size of the exported PDF boxes in the org chart?

 I have quite a large org chart to export and it would be really useful if I could increase the size of certain boxes (for example, where a manager has many subordinates, I'd like the make the manager's box larger).

Is this possible?

 

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 09 Oct 2015, 07:19 AM
Hello,

It is possible to have particular nodes resized in the output PDF file. In order to achieve that the nodes you want resized must have their CssClass property set and the special k-pdf-export class has to be added to the selector of the rules that resize them. You can learn more about that class and how it enables certain changes to be made to the exported content just before export in this documentation article.

Please, find attached a sample page which demonstrates the approach described above: the "ExportResized" node is exported with a different size than the other nodes.

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
Tags
OrgChart
Asked by
Tony
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or