Show and hide pages via JavaScript API

Feb 28, 2019

Copy link to clipboard

Copied

Hi,

is it possible to show and hide pages in Adobe Acrobat using the JavaScript API? If so, how? I've been looking for a solution for two days, but I can't find one.

Thanks

Only if they are converted to a Template object.

TOPICS
Acrobat SDK and JavaScript, Windows

Views

415

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Show and hide pages via JavaScript API

Feb 28, 2019

Copy link to clipboard

Copied

Hi,

is it possible to show and hide pages in Adobe Acrobat using the JavaScript API? If so, how? I've been looking for a solution for two days, but I can't find one.

Thanks

Only if they are converted to a Template object.

TOPICS
Acrobat SDK and JavaScript, Windows

Views

416

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 28, 2019 0
Feb 28, 2019

Copy link to clipboard

Copied

Only if they are converted to a Template object.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 28, 2019 1
Feb 28, 2019

Copy link to clipboard

Copied

Do you mean a PDF template? How can I do that?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 28, 2019 0
Feb 28, 2019

Copy link to clipboard

Copied

Templates can be created using a script or via Tools - Document Processing - Page Templates.

Once created they can be shown or hidden via the same location, or again using a script.

An important note is that it will only work in Acrobat, not in Reader, where it's only possible to spawn pages from a Template and then delete those pages, not show/hide it directly.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 28, 2019 2
Feb 28, 2019

Copy link to clipboard

Copied

Thank you 🙂 helped me a lot

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 28, 2019 0