Tag Link | [PDF_Read->SetPageRange] | Category | |
---|---|---|---|
Type | Member | Source Available | Yes |
Support | Preferred | Version | 8.1 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LJAPI | Sets | Lasso 8.5, Lasso 8.0 |
[PDF_Read->SetPageRange] sets the page range that will be saved into a new PDF document by the [PDF_Read->Save] tag. The tag requires one parameter which specifies the page range.
A basic page range is of the form 1-4. Multiple page ranges can be specified separated by commas as in 1-4,5-10. Prefixing a range with o or e will only include odd or even pages. The range e1-4 only selects the pages 2 and 4. Prefixing a range with ! specifies that the following range should not be included. The range 1-10,!2-9 will only include the pages 1 and 10.
[Var; 'myPDF' = (File_Read:
[$myPDF->(SetPageRange: '1-10,21-30')]
[$myPDF->(Save:
Required Parameters | |
---|---|
Page Range | The range of pages to include in the document whan saving it. |
See the Lasso 8 Language Guide for examples of how to use this tag.