Export RadChart to PDF

2 posts, 0 answers
  1. Lucie
    Lucie avatar
    28 posts
    Member since:
    Jun 2011

    Posted 22 Aug 2012 Link to this post

    I’d like to change page size and page orientation for export RadChart to PDF. Is it possible?

    In example for export to PDF is conversion to PNG and then export to PDF document. Is there possibility to export vector graphic directly to PDF?


  2. Bartholomeo Rocca
    Bartholomeo Rocca avatar
    247 posts
    Member since:
    May 2006

    Posted 27 Aug 2012 Link to this post

    Hello Jana,

    You can customize the page size as explained here but I do not think it is possible to change the page orientation:
    RadDocument document = new RadDocument();
    document.DefaultPageLayoutSettings.Height = 1200;
    document.DefaultPageLayoutSettings.Width = 800;
    document.SectionDefaultPageMargin = new Telerik.Windows.Documents.Layout.Padding(30, 30, 0, 0);
    document.LayoutMode = DocumentLayoutMode.Paged;
    return document;

    Also, as far as I know RadChart does not support exporting to vector format so it would not be possible to achieve the desired effect when exporting to PDF either.

Back to Top