Solved

Adobe watermarks using C# & DLL

Posted on 2014-01-20
1
604 Views
Last Modified: 2014-04-03
I've managed to automate the watermarking of PDF documents i.e in c# i've hooked into an the adobe dll, and calling an Adobe menu action that applies a specific watermark to all pages. The code and automation of watermarking works well, but the watermarking only works if the PC its running on is not locked or in sceen saver mode. It seems the PDF has to be active (not necessarily focused) to apply the watermark.

Also the watermark cannot be applied as a background process. Does anyone know a way of applying PDF watermarks even if the PC is locked/screen saver running etc or know any background methods?

Many thanks
0
Comment
Question by:Seven0fNine
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 39797271
Using the Acrobat API is basically remote controlling Acrobat. The EULA you've accepted when you installed Acrobat does not permit the use of Acrobat on a server or in a server-like environment. Running it in the background would certainly qualify as a server-like environment.

As you've noticed, in addition to legal restrictions, there are also technical limitations as to what you can do with the Acrobat API.

This means that Acrobat is not an option for you. I would look into 3rd party PDF libraries and frameworks. For C#, I would very likely use ABCPDF (http://www.websupergoo.com/abcpdf-1.htm). My second choice would be the .NET version of  iText (http://itextpdf.com)

With these libraries, you can create any type of application, and you are not limited to the Acrobat EULA.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
Progress

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question