Skip to main content
Participating Frequently
Feb 21, 2008 9:38 PM UTC
Question

Add Digital Signature Using C# and Acrobat SDK

Hi everybody!

Please, how can I digitally sign PDF documents using Acrobat Professional 8 API and C# language?
I know that I need use JavaScript APIs (IAC) but I can't find anything really helpful in the Acrobat SDK Documentation. Could anyone post a sample of how use javascript manipulation inside C# (Framework 2.0), or give me a direction?

Thank in advance!
This topic is closed to new replies. Start a new post to keep the conversation going.

63 replies

Patrick_Leckey
Participating Frequently
Feb 25, 2008 4:00 PM UTC
If that didn't work then you are not acquiring the JSObject correctly. The above method works in C#.
Translate
Participating Frequently
Feb 25, 2008 3:01 PM UTC
Look at the VB samples - they work the same way.

Leonard
Translate
Participating Frequently
Feb 25, 2008 2:29 PM UTC
Thanks for the help!

Leonard, I read the documentation, but there is no documentation for C# and no sample using JSObject with C#. There are only some samples using some methods of the Acrobat.dll, but nothing really helpful.

PDL, I tried this, but not worked. I think that this just works for VB, right?

Any idea?
Translate
Patrick_Leckey
Participating Frequently
Feb 25, 2008 2:07 PM UTC
Once you have your javascript object, you can execute any of the functions listed in the JavaScript API documentation by calling:

jso.<method name>(<parameters>);
Translate
Participating Frequently
Feb 25, 2008 2:05 PM UTC
Have you read the SDK? Have you looked at all the samples that show how to use the JSObject from C#?

What are you still missing?

Leonard
Translate
Participating Frequently
Feb 25, 2008 1:20 PM UTC
Nobody can help?
I can't understand/use javascript manipulation inside my C# app. I created the JSObject (Object jso = acroDoc.GetJSObject()) in my program, but I can't understand how can I invoke javascript codes from the c#. If somebody could post a sample, I would invoke the javascript code, that came with the SDK, to add digital signature.
Just a example to how invoke javascript from the C# would be great helpful!

Thanks!!
Translate