These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Page Labeling

Tuffy_Ven
Registered: Jun 29 2008
Posts: 68
Answered

Hi All,

How to use setPageLabels of JS in IAC method?

Any help will be appreciated.

Thanks,
Tuffy

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Unfortunatley this function requires an Array of mixed types as input so it does not work well within VB environment. But that doesn't mean you can't use it.

Create a Folder script with a function that calls "setPageLabels()". Pass the same inputs into this function that you would into "setPageLabels()" except, organize the inputs so they are not passed as an array. Then call this function from your VB code.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

Tuffy_Ven
Registered: Jun 29 2008
Posts: 68
Thanks for your response.