Lasso Soft Inc. > Home

[PDF_Read->SetPageRange]

[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.

  • Syntax
  • Parameters
[Var; 'myPDF' = (File_Read: -File='myPDF.pdf')]
[$myPDF->(SetPageRange: '1-10,21-30')]
[$myPDF->(Save: -File='myNewPDf.pdf')]
Required Parameters
Page Range The range of pages to include in the document whan saving it.
Examples

See the PDF chapter in the Lasso 8 Language Guide for examples of how to use this tag. Many of the PDF examples require lengthy descriptions and the use of several related tags and are better suited to presentation in the Language Guide.

Tag Link [PDF_Read->SetPageRange] Category PDF
Type Member Data Source Any
Support Preferred Version 8.1
Output Type None Security None
Implementation LJAPI Sets Lasso 8.5, Lasso 8.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft