A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
There is no builtin support. You will need a third party library. Google for options.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi
I have to include the pdf viewer in my wpf application.
Currently i found no support in wpf . Please help in this case.
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Answer accepted by question author
There is no builtin support. You will need a third party library. Google for options.
Hi,@Vishal2 Bansal. Welcome to Microsoft Q&A.
Set the WPF program to borderless full screen, then use WebBrowser to load the PDF, and finally set the PDF reader to a reader with navigation function.
Set the Wpf program to borderless full screen.
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
this.WindowStyle = WindowStyle.None;
this.WindowState = WindowState.Maximized;
this.ResizeMode = ResizeMode.NoResize;
}
}
Loading Pdf using WebBrowser.
<WebBrowser x:Name="MyBrowser" ></WebBrowser>
string url = "The path to your PDF";
MyBrowser.Navigate(url);
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
You can use Windows.Data.Pdf
(I posted samples in C#/WPF with my main account, which seems to have problems...)