PageRangeFilter class

PageRangeFilter class

Represents a redaction filter that sets the page range inside a document to apply redaction.

The PageRangeFilter type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of PageRangeFilter.

Properties

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.

Example

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)

Guides

Task guides that use PageRangeFilter:

See Also