TextRedaction

Inheritance: java.lang.Object, com.groupdocs.redaction.Redaction

public abstract class TextRedaction extends Redaction

Represents a base abstract class for document text redactions.


Learn more

Methods

Method Description
getActionOptions() Gets the ReplacementOptions instance, specifying type of text replacement.
getOcrConnector() Gets the IOcrConnector implementation, required to extract text from graphic content.
setOcrConnector(IOcrConnector value) Sets the IOcrConnector implementation, required to extract text from graphic content.

getActionOptions()

public final ReplacementOptions getActionOptions()

Gets the ReplacementOptions instance, specifying type of text replacement.

Returns: ReplacementOptions - The ReplacementOptions instance, specifying type of text replacement.

getOcrConnector()

public final IOcrConnector getOcrConnector()

Gets the IOcrConnector implementation, required to extract text from graphic content.

Returns: IOcrConnector - The IOcrConnector implementation, required to extract text from graphic content.

setOcrConnector(IOcrConnector value)

public final void setOcrConnector(IOcrConnector value)

Sets the IOcrConnector implementation, required to extract text from graphic content.

Parameters:

Parameter Type Description
value IOcrConnector The IOcrConnector implementation, required to extract text from graphic content.