Landscape orientation

3 posts, 0 answers
  1. Andrey
    Andrey avatar
    5 posts
    Member since:
    Sep 2012

    Posted 03 Feb 2012 Link to this post

    Hi all.

    My pdf document is in landscape orientation.
    the PdfViewer shows this document but rotates all pages.
    can I set the PdfViewer to landscape orientation?

    UPD.
    some PDF documents are stored in the separate directory that isn't accessed directly from webserver via http.
    I use the http handler that returns required PDF document.
    So the address for PDF document is like http://myserver.com/PDFdocs/DocumentName.ashx
    can I use the RadPdfViewer in my case?
  2. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 06 Feb 2012 Link to this post

    Hi Andrey,

    The page orientation is not in the list with the Q1 features of RadPdfViewer. We have it scheduled and it will  
    probably be fixed soon after the release. 
    When it comes to your second questions, as long as you can get a stream to your document, you can load it in the RadPdfViewer. It won't be possible to load the document using its URI, but if you obtain the stream of the document, you can import it in the following way:
    this.pdfViewer.DocumentSource = new PdfDocumentSource(stream);

    All the best,
    Kammen
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Andrey
    Andrey avatar
    5 posts
    Member since:
    Sep 2012

    Posted 07 Feb 2012 Link to this post

    Kammen,

    thank you for the explanation.
Back to Top