Skip to main content
Participating Frequently
February 21, 2008
Question

Add Digital Signature Using C# and Acrobat SDK

  • February 21, 2008
  • 56 replies
  • 48001 views
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 has been closed for replies.

56 replies

Patrick_Leckey
Participating Frequently
February 25, 2008
If that didn't work then you are not acquiring the JSObject correctly. The above method works in C#.
Participating Frequently
February 25, 2008
Look at the VB samples - they work the same way.

Leonard
Participating Frequently
February 25, 2008
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?
Patrick_Leckey
Participating Frequently
February 25, 2008
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>);
Participating Frequently
February 25, 2008
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
Participating Frequently
February 25, 2008
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!!