Quantcast
Channel: Adobe Community : Discussion List - Acrobat Reader
Viewing all articles
Browse latest Browse all 61627

Which C# Adobe library should I use to open a PDF in Acrobat Reader 9, 10, and 11?

$
0
0

Hi, all.

 

I have a Visual Studio C# application that writes an Adobe PDF using iText. Does anyone know how to programmatically open the PDF on client's computer and ensure it works for Adobe Reader 9, 10, and 11?

 

-I have Adobe Reader XI on my machine and "Adobe Pdf Reader" is NOT showing up in my COM references. This is the library that I've heard people use for this.

-The "Adobe Reader File Preview Type Library" is showing up there, but does not add to my project because of the following error message: "A reference to 'Adobe Reader File Preview Type Library' could not be added. Could not register the ActiveX type library....adoberfp.dll'." But I haven't persued this further becuase I'm not even convinced I should be using this library, which brings me to my next point:

-Please don't tell me to go read the Adobe SDK spec. In searching for this answer, I found posts on here with people asking this question and getting not great answers, or half-*** answers to go read the Adobe SDK spec. I have the Adobe SDK spec, it's terrible. The example source code is laughably poor and reads like it was written by someone with bad english, with poor naming, commenting, and documentation, and there is no separate document that explains what the source code does. I think the reason people say this is because they haven't read it themselves and they don't know the answer and hope to deal with the question by handwaving. Sorry for the rant if you weren't going to do that!

 

Thanks in advance, if anyone knows.

 

-Brandon


Viewing all articles
Browse latest Browse all 61627

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>