IFixedFormatDocument
Leave feedback
On this page
public interface IFixedFormatDocument
Defines methods that are required for access formats of fixed structure, such as PDF or presentations.
Learn more
- More details about applying redactions: Redaction basics
- More details about PageAreaRedaction: Use PageAreaRedaction
- More details about implementing custom formats: Create custom format handler
| Method | Description |
|---|---|
| redactAnnotation(Pattern regularExpression, ReplacementOptions options) | Replaces the matching text in all annotations within the document with given options. |
| loadImages(RedactionFilter[] filters) | Loads an array of raster image instances, contained within the document, matching Redactions.RedactionFilter set. |
public abstract RedactionResult redactAnnotation(Pattern regularExpression, ReplacementOptions options)
Replaces the matching text in all annotations within the document with given options.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| regularExpression | java.util.regex.Pattern | Regular expression to search and replace |
| options | ReplacementOptions | Replacement options |
Returns: RedactionResult - Replacement result
public abstract IImageFormatInstance[] loadImages(RedactionFilter[] filters)
Loads an array of raster image instances, contained within the document, matching Redactions.RedactionFilter set.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| filters | RedactionFilter[] | An array of RedactionFilter instances to apply |
Returns: com.groupdocs.redaction.integration.IImageFormatInstance[] - An array of raster image instances
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.