ReplaceTextStrategy

ReplaceTextStrategy

Overview

ReplaceTextStrategy is a class in Aspose.Pdf FOSS for Java.

Controls how {@link PdfContentEditor#replaceText(String, String)} performs replacements.

Properties

NameTypeAccessDescription
regularExpressionUsedbooleanReadReturns whether regular-expression matching is enabled.
replaceScopeScopeReadReturns the replacement scope.

Methods

SignatureDescription
isRegularExpressionUsed()booleanReturns whether regular-expression matching is enabled.
setRegularExpressionUsed(regularExpressionUsed: boolean)Enables or disables regular-expression matching.
getReplaceScope()ScopeReturns the replacement scope.
setReplaceScope(replaceScope: Scope)Sets the replacement scope.

See Also