apply method
Contents
[
Hide
]
apply
Applies a redaction to the document.
Returns
Success or failure and error message in this case
def apply(self, redaction):
...
Parameter | Type | Description |
---|---|---|
redaction | Redaction |
An instance of Redaction to apply |
Example
The following example demonstrates applying a single redaction to the document.
apply
Applies a set of redactions to the document.
Returns
Success or failure and error message in this case
def apply(self, redactions):
...
Parameter | Type | Description |
---|---|---|
redactions | list | An array of redactions to apply |
Example
The following example demonstrates applying a list of redactions to the document.
apply
Applies a redaction policy to the document.
Returns
Success or failure and error message in this case
def apply(self, policy):
...
Parameter | Type | Description |
---|---|---|
policy | RedactionPolicy |
Redaction policy |
Example
The following example demonstrates how to apply a redaction policy to all files within a given inbound folder, and save to one of outbound folders - for successfully updated files and for failed ones.
See Also
- module
groupdocs.redaction
- class
Redaction
- class
Redactor