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

[Solved] ExportToPDF Appearance

1 Answer 307 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Doug Odegaard
Top achievements
Rank 2
Doug Odegaard asked on 08 Apr 2008, 06:40 PM
I am using a RadGrid that has up to 30 skinny columns with 3 characters each.  When I ExportToPDF() they overlap themselves and they appear stacked.  I read the documentation and altered the ItemStyle and AlternatingStyle but no change even with IgnorePaging set to true.  I am using a Skin on the Grid itself for appearance which is the Vista skin.  Is there anyway to have the export PDF use a small font for export purposes but still use skin for visual appearance?

Also.....can I force it to be landscape orientation?

Using Telerik.Web.UI 2007.3.1425.20

Thanks in advance.
Doug

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 09 Apr 2008, 07:50 AM
Hi Doug,

You can follow the approach from this help article, to change the font size and weight for the pdf export. There is no Orientation property available out of the box, but you can simulate it with the help of PageHeight and PageWidth properties like this:

 <ExportSettings>
          <Pdf PaperSize="C5_Envelope" PageHeight="162mm" PageWidth="600mm" FontType="Subset" />
</ExportSettings>

Hope this helps.

Kind regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Doug Odegaard
Top achievements
Rank 2
Answers by
Steve
Telerik team
Share this question
or