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

[Solved] Grid PDF Export

1 Answer 114 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 29 May 2009, 08:51 PM
I am exporting a grid into a pdf file.  But when I view the print screen the grid is half the size of the paper and the font is really tiny.  I have over 100 pages when it should only be around 40.  How do I make the print out look like what it does in PDF.  I put down  landscape in my code.  

 

this.ExportSettings.Pdf.PageHeight = Unit.Parse("162mm");

 

 

this.ExportSettings.Pdf.PageWidth = Unit.Parse("600mm");

 

e.Item.Style[

"font-size"] = "9px";

Is there something I need to do to make it fit to the correct paper size?

Thanks,

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 30 May 2009, 06:39 AM
Hello Robert,

162 x 600 is quite unusual format in my opinion. Most common formats are letter, A4, A3 and etc.

format
 portrait  landscape
 letter  216x297mm  297x216mm
 A4  210x297mm  297x210mm
 A3  297x420mm  420x297mm

For more information I recommend you examine the following links:
Export to Microsoft Excel/Word/PDF/CSV
Wikipedia: Paper sizes

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Robert
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or