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

Landscape orientation

2 Answers 103 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Andrey
Top achievements
Rank 1
Andrey asked on 03 Feb 2012, 01:04 PM
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 Answers, 1 is accepted

Sort by
0
Kammen
Telerik team
answered on 06 Feb 2012, 06:53 PM

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 >>
0
Andrey
Top achievements
Rank 1
answered on 07 Feb 2012, 09:08 AM
Kammen,

thank you for the explanation.
Tags
PDFViewer
Asked by
Andrey
Top achievements
Rank 1
Answers by
Kammen
Telerik team
Andrey
Top achievements
Rank 1
Share this question
or