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

PDF Export RadDocument - Landscape issue

0 Answers 134 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jatinder
Top achievements
Rank 1
Jatinder asked on 13 Feb 2012, 09:17 PM
RadDocument document = CreateDocument();
document.LayoutMode = DocumentLayoutMode.Paged;
document.DefaultPageLayoutSettings = new PageLayoutSettings(paperType); 
document.SectionDefaultPageOrientation = PageOrientation.Landscape; 
document.Measure(RadDocument.MAX_DOCUMENT_SIZE);
document.Arrange(new RectangleF(PointF.Empty, document.DesiredSize));
Hi
I am trying to export to PDF with the pdfformatprovider.
Even though i am setting the document orientation to Landscape - the print is always portrait.

here is the code snippet.
Thanks


No answers yet. Maybe you can help?

Tags
GridView
Asked by
Jatinder
Top achievements
Rank 1
Share this question
or