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

Export to PDF page orientation

1 Answer 193 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Timothy Kruszewski
Top achievements
Rank 1
Timothy Kruszewski asked on 25 Aug 2010, 12:57 AM
I can't figure out how to export a document in landscape orientation.  Can someone help me please?


<
ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true"
                                                                        HideStructureColumns="true" Pdf-PageBottomMargin=".5" Pdf-PageTopMargin=".5"
                                                                        Pdf-PageLeftMargin=".5" Pdf-PageRightMargin=".5" Pdf-PaperSize="Legal">
                                                                    </ExportSettings>


1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 25 Aug 2010, 07:21 AM
Hello Timothy,

You can switch the page orientation to landscape by swapping the width and the height:
A4 Portrait:
<Pdf PageWidth="210mm" PageHeight="297mm" />
 
A4 Landscape:
<Pdf PageWidth="297mm" PageHeight="210mm" />

Best regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Timothy Kruszewski
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or