Initializes a new instance of RemovePageRedaction.
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
fromgroupdocs.redaction.redactionsimportRemovePageRedaction,PageSeekOrigin# Remove 3 pages starting from the 2nd page (zero‑based index 1)rem_opt=RemovePageRedaction(PageSeekOrigin.BEGIN,1,3)