.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> WPF >> Post New QuestionBookmark and Share Subscribe to Forum

Problem with Pdf not getting rotated inside Surface

Posted By: k.suresh     Posted Date: December 26, 2011    Points:5   Category :WPF
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


No response found. Be the first to respond this post
Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend