Problem with Pdf not getting rotated inside Surface

Posted by ksuresh_fk-13126 under WPF on 12/26/2011 | Points: 10 | Views : 3137 | Status : [Member] | Replies : 1
Hi i am using surface to open PDF file in wedbrowser control. the PDF file gets opened but webBrowser doesnt get rotated.

string filepath = @"C:\Users\suresh.k\Desktop\WpfPDFViewer\bin\Debug\Files\SSRS.pdf";

public Window2()
WebBrowser1.Navigate(new Uri(filepath));

Tried with binding"Adobe PDF Reader" into windows user control, which gets showed by means of WindowsFormsHost control.(Doesnt rotate here also)

string filepath = AppDomain.CurrentDomain.BaseDirectory + @"Files\SSRS.pdf";
var uc = new UserControl1(filepath);
this.windowsFormsHost1.Child = uc;

Please suggest one solution to overcome the problem


Posted by: balajirnaukri-12656 on: 12/28/2011 [Member] Starter | Points: 25

Go through this Link

Thanks and Regards
ASP.NET Devloper
Solve-IT corp

ksuresh_fk-13126, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response