Is it possible to export the Org Chart to pdf/ppt/word document?

4 posts, 0 answers
  1. Nico
    Nico avatar
    1 posts
    Member since:
    Sep 2014

    Posted 09 Sep 2014 Link to this post

    We are evaluating the OrgChart control to have a suitable solution to maintain our organization chart. Is it poosible to export chart into pdf/word/ppt file?
  2. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 11 Sep 2014 Link to this post

    Hello Nico,

    the RadOrgChart does not have such built-in feature. However, with some custom implementation, the desired functionality (regarding the PDF export) could be achieved. Bellow you could find an example, demonstrating such implementation.
     
    Regards,
    Nencho
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Giuseppe
    Giuseppe avatar
    1 posts
    Member since:
    Nov 2014

    Posted 22 Dec 2014 in reply to Nencho Link to this post

    Hello,
    can I adopt the same solution for RadDiagram?
  5. Xavier
    Xavier avatar
    1 posts
    Member since:
    May 2014

    Posted 22 Dec 2014 in reply to Nencho Link to this post

    This is only working for one page, is it possible to print/export to pdf the complete org chart?

    I use your code:

     var doc = jsPDF("landscape", "pt", "a3");
                    html2canvas(document.getElementById("RadOrgChart"), {
                        onrendered: function (canvas) {
                            var data = canvas.toDataURL("image/jpeg");
                            var pageWidth = doc.internal.pageSize.width;
                            var pageHeight = doc.internal.pageSize.height;
                            var width = canvas.width;
                            var height = canvas.height;
                            doc.addImage(data, "JPEG", (pageWidth - width) / 2, (pageHeight - height) / 2, width, height);
                            doc.save("scheduler.pdf");
                        }
                    });
Back to Top