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() { InitializeComponent(); 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