Class ReplaceTextStrategy

ReplaceTextStrategy class

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

public sealed class ReplaceTextStrategy

Constructors

NameDescription
ReplaceTextStrategy()The default constructor.

Properties

NameDescription
IsRegularExpressionUsed { get; set; }If false, string to find is a simple text. If true, string to find is regular expression.
NoCharacterBehavior { get; set; }Action which is performed when no approppriate font found for changed text (Throw exception / Substitute other font / Replace anyway).
ReplaceScope { get; set; }Scope of the replacement operation (replace first occurence or replace all occurences).

See Also