C#
VB
C++
Gets or sets the last page to load. This is a 1-based index.
An integer value that specifies the last page to load.
The value of this property must be greater than or equal to FirstPageNumber. Pass -1 to load pages from FirstPageNumber to the last page in the file.
For an example, refer to DocumentConvertOptions.