Org Chart PDF Export size

2 posts, 0 answers
  1. Tony
    Tony avatar
    2 posts
    Member since:
    May 2013

    Posted 06 Oct 2015 Link to this post


     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?


  2. Ivan Danchev
    Ivan Danchev avatar
    1617 posts

    Posted 09 Oct 2015 Link to this post


    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.

    Ivan Danchev
    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
Back to Top