Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 92889

Re: Form PDF Save/Export so no longer a form?

$
0
0

NOT been having any luck with getting my JavaScript to just flatten certain pages.

 

What I have thus far based on what is in the Adobe Documentation and poking around online is:

this.flattenPages({nStart: 1, nEnd: 14});

 

Which I was hoping was going to flatten pages 1 through 14 but it flattens all the page.

 

Documentation gives:

nStart

(optional) A 0-based index that defines the start of an inclusive range of pages in the current document. If only nStart is specified, the page range is the single page specified by nStart.

nEnd

(optional) A 0-based index that defines the end of an inclusive range of pages in the current document.

 

BUT doesn't give an example of how that plays out, just gives the

this.flattenPages();

as an example of flatten all pages. 

 

Would love some coaching!


Viewing all articles
Browse latest Browse all 92889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>