PDF Export RadDocument - Landscape issue

1 posts, 0 answers
  1. Jatinder
    Jatinder avatar
    12 posts
    Member since:
    Oct 2011

    Posted 13 Feb 2012 Link to this post

    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


Back to Top