radgrid export to pdf has text overlapping

3 posts, 0 answers
  1. Doug
    Doug avatar
    103 posts
    Member since:
    Aug 2014

    Posted 08 Sep 2016 Link to this post

    my form is pretty wide and the pdf export has data overlapping

    gvMonthly.ExportSettings.FileName = GetGridFilename()
    gvMonthly.ExportSettings.ExportOnlyData = True
    'gvMonthly.ExportSettings.IgnorePaging = True
    gvMonthly.ExportSettings.OpenInNewWindow = True
    gvMonthly.MasterTableView.ExportToPdf()

    is there anything I can do like tell the font to be smaller or have it wrap the text better? or landscape?

  2. Kostadin
    Admin
    Kostadin avatar
    1733 posts

    Posted 13 Sep 2016 Link to this post

    Hi Doug,

    You can set a PageWidth and PageHeight proprieties to set the PDF document as landscape. Please check out the following help article for more information.

    Regards,
    Kostadin
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. Doug
    Doug avatar
    103 posts
    Member since:
    Aug 2014

    Posted 19 Sep 2016 in reply to Kostadin Link to this post

    this has worked well
    gvMonthly.ExportSettings.Pdf.PageWidth = System.Web.UI.WebControls.Unit.Pixel(1500)
    gvMonthly.ExportSettings.Pdf.PageHeight = System.Web.UI.WebControls.Unit.Pixel(1000)
Back to Top