IDOL View Component 24.4
IDOL View Component Help

# PageRestriction

The pages of a PDF document to return.

This option is available only when you use the pdf2sr reader for PDF documents, and when the LegacyRendering configuration parameter is set to `False`.

You set page restriction to a comma-separated list of the pages that you want to return from the PDF that you specify in the Reference parameter.

For example:

    action=View&Reference=mydocument.pdf&PageRestriction=1,2,7,9-12

This example returns pages 1, 2, 7, 9, 10, 11 and 12 of the specified PDF, in that order.

View sorts and deduplicates the page restriction before it applies it internally, so that pages always return in sorted and deduplicated order. Page restrictions must be positive integers. View returns an error if a page number used in the restriction exceeds the number of pages in the PDF document.

When you request the same document with different page restrictions, View treats these as separate jobs for caching purposes.

The `PageRestriction` parameter has no effect if the Reference does not point to a PDF document (that is, for non-PDF documents, View renders and returns the document in full, as before).

Actions: | View
Type: | String
Default: |
Example: |
    PageRestriction=1,2,7,9-12
This example returns pages 1, 2, 7, 9, 10, 11, and 12, in that order.
See Also: | Reference LegacyRendering configuration parameter

Copyright 2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL IDOL View Component 24.4

Topic Title: PageRestriction