Patagames Software Support Forum
»
Pdfium.Net SDK
»
FAQ
»
How to add a PdfView control to the Toolbox?
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,080
Thanks: 6 times Was thanked: 126 time(s) in 123 post(s)
|
Question:I installed the Pdfium.N0et SDK with the nuget package manager, the DLL is loaded into my project, but I cannot find this PdfViewer item in my ToolBox in the designer view. Can you help me with this? Answer:NuGet is focused on installing libraries and tools into a Visual Studio solution. It does not explicitly install anything outside of that folder such as UserControls into Toolbox, so you must do it yourself. Using the Visual Studio menus- Open the form file of your project's main window in the Designer. For example, it would be MainForm.cs or UserControl1.cs.
- In the Toolbox, select the tab where you want to add the control.
- Right-click the Toolbox and select Choose Items from the shortcut menu.
The Choose Toolbox Items dialog box opens. The below picture shows the Choose Toolbox Items dialog box.

- Click the .NET Framework Components tab.
- Click the Browse button. In the Open dialog box, navigate to the Patagames.Pdf.WinForms.dll assembly, select it and click Open.
If you use the Nuget Package Manager to install Pdfium.Net SDK then the file is located in the solution directory\packages\Pdfium.Net.SDK.2.x.x\lib\net45 (20, 30, 35 OR 40 - it depends on your project type)
- Put a check mark next to the control, and then click OK.
The PdfViewer control appears at the bottom of the selected tab in the Toolbox.
- From the Toolbox, drag the control onto the design surface.
The PdfViewer control appears on the design surface. Using the the drag-drop approach
- Run Visual Studio 2005/2008/2010/2012/2013/2015/2017.
- Open any windows forms project/solution.
- Expand the Toolbox.
- Right-click the Toolbox in the empty area underneath and choose Add Tab to create a new tab. Name the tab "Patagames UI for WinForms".
- Open a Windows Explorer and locate the Patagames assemblies folder.
- Select Patagames.Pdf.WinFowms.dll and drag-drop them to the empty space in the newly created tab in Visual Studio
Note:Resetting the toolbox through the Reset context command will remove the tools from the toolbox. If you need to reset the toolbox, just add the controls as described above. Edited by user Wednesday, July 18, 2018 6:45:17 AM(UTC)
| Reason: Not specified
|
|
|
|
Patagames Software Support Forum
»
Pdfium.Net SDK
»
FAQ
»
How to add a PdfView control to the Toolbox?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close