Skip to main content
satyenk75163452
Participant
February 20, 2017
Question

Bates Numbering

  • February 20, 2017
  • 1 reply
  • 774 views

I would like to automate the bates numbering from my C# / JavaScript code on the existing pdf documents. Can someone help me how do I approch this. Is there a dll that I can call inside my code to achieve this?

Thanks in advance.

Satyen

This topic has been closed for replies.

1 reply

Inspiring
February 21, 2017

I would start by downloading the Acrobat SDK documentation

satyenk75163452
Participant
February 22, 2017

Thanks.... gkaiseril. for your response.

I have been all over (Acrobar SDK documentation) it to find the solution. I found the folder with few VC++ files with project as follows...

sdkDC_v1_win\Adobe\Acrobat DC SDK\Version 1\PluginSupport\Samples\BatesNumbering

There is no explanation what so ever and I think it is missing few files. I loaded the project and it fails to compile. I checked for everything and I am not sure how to move forward. This is where I need some help to cross the brick wall I hit.

Can you help me on this please?

-Satyen

Karl Heinz  Kremer
Community Expert
Community Expert
February 22, 2017

This is a sample Acrobat plug-in and not something you can use in C# or JavaScript. There is nothing missing from this project, it works, but you need to know how to compile and install a plug-in. This information is in the SDK.

If you want to create Bates numbers in JavaScript or C#, you are unfortunately out of luck: The Bates function is not accessible via these APIs. You can however create your own Bates like functionality by using the Doc.addWatermarkFromText() method: Acrobat DC SDK Documentation - Doc.addWatermarkFromText()