Cast the PDAction object you get from getAction to PDActionJavaScript and
then use the getAction method to get a string with the code.

On Tue, Jun 4, 2019 at 10:41 AM Евгений Король <fffa...@gmail.com> wrote:

> Hello. I have a trouble to get JavaScript code from Action object from
> PDF file. For example, i have annotation type PDAnnotationLink. In
> this annotation i have Action. From PDF Debugger i can see JS code of
> Action. But how can i get this from my code?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
> For additional commands, e-mail: users-h...@pdfbox.apache.org
>
>

Reply via email to