Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I was trying to display a PDF file. After long research in google, stack, and msdn, I found few options. Libs from Adobe was first hit, but unsuccessful.
Link to album with properties, events and code.
None of the functions and properties from answers were found here. I added .COM control to toolbox, put in Form, and added "usings". As in pictures.
And here I have few questions to this topic:
1. What did I wrong, that this hasn't got their functions?
2. Can I use this libs in commercial program?
3. Does user must have install Adobe Reader to run my program?
Later on I found another clearly commercial libs, but I can't afford their license.
Last one was "PDFSharp", but I can't understand where to put code from this sample.
If someone could recommend a lib, or program which is:
Independent (I would like not force to instal Adobe Reader, for example).
Display PDF.
Move through PDF pages (scroll bars, and change index of actual page).
And actually that's all. Even simple conversion from PDF to ImageBox would be enough.
Thank You all in advance for all help.
(and 2) It can be related to the latest changes in Adobe Reader COM objects that broke Adobe Reader controls on Windows x64. The solution is to use WebBrowser control instead (and expect that it will call PDF plugin) OR to compile your application targeted x86 instead of AnyCPU.
If you rely on Adobe PDF pluggin then yes, user should have Adobe Reader installed and must explicitly permit PDF plugin in Internet Explorer.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I am working on PDF form filler using c# code and iText library, but now the problem is iText library is no more an open source library. We need to buy license of AGPL. So I am looking for open source pdf form filler. Thank you in advance.
I think you got something wrong there.
The AGPL license is still an open source license and is there to prevent the so called "application service provider loophole". As far as I understand, if you e.g. host software that is licensed under the GPL/that uses or modifies software licensed under the GPL you don't have to give out your source code. The AGPL prevents this.
Depending on what you want to do with your software you might aswell use iText.
But before doing so try to read up on the AGPL in order to prevent any legal mistakes.
The AGPL FAQ might be a good place to start.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
The MSDN Library provides great documentation for .NET/C#. However, the primary delivery medium, HTML via a web browser is suboptimal. A rich native Windows client for browsing this documentation seems like a perfect opportunity to showcase WPF. Is there such a client available? Are there any alternative interfaces to the MSDN Library?
Visual Studio 2010 can download the help to your local hard drive and load it from local server (it actually does use a local server, so search etc. works). Everything is seamless - you browse the documentation directly in VS itself. Hitting F1 with caret on a symbol will direct the searches into this local browser.
The help is to some extent integrated into the VS editor itself (for example as parameter info). ReSharper goes slightly further and displays even more info:
You can also browse the .Net code with some documentation bits in Object Browser.
Other than these, I don't know about anything - but I also don't know what features you would like. I personally think the old documentation browser present in VS <=2008 was horrible.
There are some features I would like to see which are currently not available anywhere as far as I know (for example list of implementors of an interface), but the solutions I listed are mostly all I personally need.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Does the anyone know a .Net component to convert PDF to Word or RTF programatically? I don't want to use OCR and Adobe dependent solutions.
I tried several libraries:
PDF Focus .NET: https://sautinsoft.com/products/pdf-focus/index.php
Aspose.PDF: https://products.aspose.com/pdf/net
Gembox: https://www.gemboxsoftware.com/document
Spire.PDF: https://www.e-iceblue.com/Introduce/pdf-for-net-introduce.html
considered also using Word via COM automation to open and save to pdf programmatically.
Among all of them I liked PDF Focus .NET best of all, and I will explain why:
They try to keep the structure of the document EDITABLE, so that
when I will try to continue editing the text, the paragraph will be
smoothly prolonged. Other libraries are trying to do a
"minimalistic" approach by inserting absolute positioned shapes, so
that if you continue editing the text, it will overlap with the next
piece of text.
They do all their best to recognize tables, so
that tables in the output document will be REAL TABLES, but not a
collection of shapes and texts with absolute positioning (as
produced by other libraries).
A customer of ours is evaluating now different libraries, and I will recommend PDF Focus .NET first of all.
P.S. I AM NOT INVOLVED IN ANY KIND OF RELATIONSHIP WITH THIS SOFTWARE PRODUCER. As a former .NET developer I simply see a high quality components which really work fine.
Use PDF Focus.
Nice and easy.
EDIT: And also
How to convert DOC into other formats using C#
http://dotnetf1.blogspot.com/2008/07/convert-word-doc-into-pdf-using-c-code.html
You need something like GemBox.Document. It's a simple .NET component that enables you to manipulate and convert all kinds of document files.
You should have read this: C# and PDF. There are methods to convert, like beforementioned PDF Focus but be warned: it is buggy, and crashy process. PDF is not intended to be PC-readable.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I want to display a pdf file in some viewer control by just defining its path without any need for Adobe Acrobat Reader installation.
Is there any open source controls for this ? (with c#)
Have you looked at this project, which is also on CodeProject? It's C# and uses/wraps an open source C/C++ PDF library.
The code and compiled binary can be downloaded here from Google.
I have not used this control, but it seems to meet your requirements. Hope this helps!
There is a brand new PDF viewer control for Windows 10 Universal Windows Platform in C# at http://www.github.com/Swifter/FlipPdfViewer
QuickPDF (www.quickpdf.com) has DARenderPageToDC() and RenderPageToFile() functions that could do the job for you. It is a reasonably price commercial library and is royalty free.
It is very simple to use in C#.
Also, Need PDF viewer control - tried a lot has a list of PDF viewers that could also do the job. A commercial library is going to be able to process more complex PDF's if required such as CJK fonts, newer PDF versions, TYPE 1 fonts etc...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I want to write a C# application that can utilize the OCR function in Adobe Acrobat. How can I call this? Is there a public API?
I believe this is part of the Adobe Reader software and is not accessible through an API. There's an API and libraries for constructing PDF documents per the format specifications, but OCR is something that concerns the reader and not the format. I'm afraid you would either have to use another library or implement it yourself.
There is no direct Adobe OCR API suitable for .net. There are some alternatives though, for what you are trying to achieve. There is a open-source .Net wrapper for Google's open-source Tesseract OCR available on GitHub here: https://github.com/charlesw/tesseract. This should get you OCR capability within C#.
From the documentation:
Getting started quickly
Add the Tesseract NuGet Package by running Install-Package Tesseract from the Package Manager Console.
Ensure you have Visual Studio 2012 x86 & x64 runtimes installed
Download language data files for tesseract 3.02 from tesseract-ocr and add them to your project, ensure 'Copy to
output directory' is set to Always.
Check out the samples solution ~/Samples/Tesseract.Samples.sln for a working example