Is there any free PDF viewer extension for Windows Forms that has no limitations for the number of pages or having one PDF viewer installed on your computer? I saw Free Spire.PDFViewer for .NET but it has limitation for 10 pages max.
Asked
Active
Viewed 2,094 times
0
-
Do you have any restrictions of installing Adobe Acrobat Reader on the host machine? – Bruno Saboia Dec 24 '16 at 13:28
-
No, I am building an application for commercial use so I want to have a PDF reader already there if some customer doesn't have any PDF reader installed. – hcerim Dec 24 '16 at 13:51
1 Answers
1
Have you checked PdfiumViewer?, it provides a control to render pdf on winforms

james_bond
- 6,778
- 3
- 28
- 34
-
Is this just a library or could I use it as a tool(drag and drop it like buttons..etc) – hcerim Dec 24 '16 at 12:15
-
It has two controls to use with winforms, need to refer to the documentation as the controls have some built-in functionality. – james_bond Dec 24 '16 at 13:19
-
Actually this is a great article and code. I ran .exe and it worked perfectly but when I implement it in my app i get an exception that 'pdfium.dll' could not be found and unable to load 'pdfium.dll'. – hcerim Dec 24 '16 at 13:55
-
System.DllNotFoundException: 'Unable to load DLL 'pdfium.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)' – hcerim Dec 24 '16 at 13:56
-
Make sure that the dll can be loaded by your executable, one alternative is to place the dll in your bin/debug or bin/release folders in your solution. – james_bond Dec 24 '16 at 13:58
-
Yes, it is in x64 and x86 folders and still get the exception. I don't know what's the problem – hcerim Dec 24 '16 at 14:20
-
Check if the solutions proposed here: http://stackoverflow.com/questions/9003072/unable-to-load-dll-module-could-not-be-found-hresult-0x8007007e work for you – james_bond Dec 24 '16 at 14:25
-
I've figured it out. You have to set Copy to Output directory to Copy Always. – hcerim Dec 24 '16 at 15:00
-
-
-