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

PDF Export RadDocument - Landscape issue

0 Answers 153 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
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


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