When the Choose Toolbox Items dialog appears, select the COM Components tab and select Adobe PDF Reader (this will add the AcroPDF.DLL to the toolbox).īut I can't seem to find the Choose Toolbox Items or COM Components it talks about.Ĭan anyone point me to a clearer tutorial, or explain how I would add a PDF viewer to my WPF application? I am using Visual Studio 2015. With this new tab expanded, select “choose items” from the context menu. As a first step it is a good idea to add a new tab for custom controls- this is an option from the context menu on the toolbox. You will need to open the tool box (CTRL + W, X). Once this control is added to the project, the Windows Forms Designer should be open with a blank canvas. Then, locate the 15.2, 15.2.Core, 15.2.Core, and 15.2 assemblies and activate their check boxes.īut when I go to Add Reference, I can't find the assemblies it mentions anywhere, and if I 'search' for them, no items are found.Īm I missing an include, or do I need to import some libraries from somewhere or something in order to use these?Īnother one I have tried is: which says: Open the Solution Explorer, right-click References and choose Add Reference. to add a PDF Viewer via code- it says to Is there something I need to do to add/ enable the Data & Analytics toolbar in Visual Studio? there's a Data tab, but that just has items like Pointer, Chart, ListView, etc. However, I don't seem to have a Data & Analytics tab in the toolbox. To add a PDF Viewer at Design Time- it says toĭrag the PdfViewerControl from the DX.15.2: Data & Analytics Toolbox tab and drop it onto the main window
I have tried following a couple of tutorials/ examples that I have found online, but they don't seem to work for me for varying reasons.įor example, I tried following the tutorial at:
WPD VIEWER FREE HOW TO
I am new to WPF, and am trying to add a PDF viewer to my WPF application, but can't seem to work out how to do it.