__init__ constructor

On this page

init

Initializes a new instance of PageRangeFilter.

def __init__(self, origin, index, count):
    ...
Parameter Type Description
origin PageSeekOrigin Seek reference position, the beginning or the end of a document.
index int Start position index (0-based).
count int Count of pages to remove.

Example

from groupdocs.redaction.redactions import PageRangeFilter, PageSeekOrigin

filters = [
    PageRangeFilter(PageSeekOrigin.END, 0, 1),
    # add other filters as needed
]

See Also

On this page