lPages

The number of pages to load. To load all pages in a multipage file, pass -1. If the file is not a multipage file, pass 1.