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

radgrid export to pdf has text overlapping

2 Answers 186 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Doug
Top achievements
Rank 1
Doug asked on 08 Sep 2016, 07:49 PM

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 Answers, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 13 Sep 2016, 02:17 PM
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.
0
Doug
Top achievements
Rank 1
answered on 19 Sep 2016, 03:40 PM
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)
Tags
Grid
Asked by
Doug
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Doug
Top achievements
Rank 1
Share this question
or