PageRangeFilter class
Leave feedback
On this page
Represents a redaction filter that sets the page range inside a document to apply redaction.
- More details about applying redactions: https://docs.groupdocs.com/redaction/python-net/redaction-basics/
- More details about redaction filters: https://docs.groupdocs.com/redaction/python-net/use-pdf-redaction-filters/
The PageRangeFilter type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of PageRangeFilter. |
| Property | Description |
|---|---|
| count | The number of pages to remove. |
| index | The start position index (0-based). |
| origin | The seek reference position, either the beginning or the end of a document. |
from groupdocs.redaction.redactions import PageRangeFilter, PageSeekOrigin
# Create a filter for the last page (origin END, offset 0, count 1)
filter = PageRangeFilter(PageSeekOrigin.END, 0, 1)
Task guides that use PageRangeFilter:
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.