Expand my Community achievements bar.

opening flattened Pdf

Avatar

Level 2

Hi -

I have PDF 1.4 that started out in LifeCycle and as was flattened (using itext).  I would like to open the PDF at a particular page location.  I know the javascript to do this is something like xfa.host.currentPage = 4 but don't know how to do it dynamically by passing in an argument from an HTML page for example.  Any help would be appreciated.

Thanks, Doug

1 Reply

Avatar

Level 7

If the PDF was truly flattened, then it is no longer an XFA (LiveCycle) form. You will need to use the Acroforms/Acrobat API to accomplish your goals.