IFixedFormatDocument

public interface IFixedFormatDocument

Defines methods that are required for access formats of fixed structure, such as PDF or presentations.


Learn more

Methods

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.

redactAnnotation(Pattern regularExpression, ReplacementOptions options)

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

loadImages(RedactionFilter[] filters)

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