Aspose::Pdf::Facades::ReplaceTextStrategy class

ReplaceTextStrategy class

This class contains parameters which define PdfContentEditor behavior when ReplaceText operation is performed.

class ReplaceTextStrategy : public System::Object

Methods

MethodDescription
get_IsRegularExpressionUsed() constIf false, string to find is a simple text. If true, string to find is regular expression.
get_NoCharacterBehavior() constAction which is performed when no approppriate font found for changed text (Throw exception / Substitute other font / Replace anyway).
get_ReplaceScope() constScope of the replacement operation (replace first occurence or replace all occurences).
ReplaceTextStrategy()
set_IsRegularExpressionUsed(bool)If false, string to find is a simple text. If true, string to find is regular expression.
set_NoCharacterBehavior(ReplaceTextStrategy::NoCharacterAction)Action which is performed when no approppriate font found for changed text (Throw exception / Substitute other font / Replace anyway).
set_ReplaceScope(ReplaceTextStrategy::Scope)Scope of the replacement operation (replace first occurence or replace all occurences).

See Also