Replacer

Replacer class

Provides methods intended to find and replace text in the document.

public class Replacer : Processor

Methods

NameDescription
static Create(ReplacerContext)Creates new instance of the replacer processor.
Execute()Execute the processor action.
From(Stream, LoadOptions)Specifies input document for processing.
From(string, LoadOptions)Specifies input document for processing.
To(List<Stream>, SaveFormat)Specifies output Document streams list.
To(List<Stream>, SaveOptions)Specifies output Document streams list.
To(Stream, SaveFormat)Specifies output stream for the processor.
To(Stream, SaveOptions)Specifies output stream for the processor.
To(string, SaveFormat)Specifies output file for the processor.
To(string, SaveOptions)Specifies output file for the processor.
static Replace(string, string, Regex, string)Replaces all occurrences of a specified character string pattern with a replacement string in the input file using a regular expression.
static Replace(string, string, string, string)Replaces all occurrences of a specified character string pattern with a replacement string in the input file.
static Replace(Stream, Stream, SaveFormat, Regex, string, FindReplaceOptions)Replaces all occurrences of a specified character string pattern with a replacement string in the input stream using a regular expression, with the specified save format and additional options.
static Replace(Stream, Stream, SaveFormat, string, string, FindReplaceOptions)Replaces all occurrences of a specified character string pattern with a replacement string in the input stream, with the specified save format and additional options.
static Replace(Stream, Stream, SaveOptions, Regex, string, FindReplaceOptions)Replaces all occurrences of a specified character string pattern with a replacement string in the input stream using a regular expression, with the specified save format and additional options.
static Replace(Stream, Stream, SaveOptions, string, string, FindReplaceOptions)Replaces all occurrences of a specified character string pattern with a replacement string in the input stream, with the specified save format and additional options.
static Replace(string, string, SaveFormat, Regex, string, FindReplaceOptions)Replaces all occurrences of a specified character string pattern with a replacement string in the input file using a regular expression, with the specified save format and additional options.
static Replace(string, string, SaveFormat, string, string, FindReplaceOptions)Replaces all occurrences of a specified character string pattern with a replacement string in the input file, with the specified save format and additional options.
static Replace(string, string, SaveOptions, Regex, string, FindReplaceOptions)Replaces all occurrences of a specified character string pattern with a replacement string in the input file using a regular expression, with the specified save format and additional options.
static Replace(string, string, SaveOptions, string, string, FindReplaceOptions)Replaces all occurrences of a specified character string pattern with a replacement string in the input file, with the specified save format and additional options.
static ReplaceToImages(Stream, ImageSaveOptions, Regex, string, FindReplaceOptions)Replaces all occurrences of a specified regular expression pattern with a replacement string in the input file. Renders output to images.
static ReplaceToImages(Stream, ImageSaveOptions, string, string, FindReplaceOptions)Replaces all occurrences of a specified character string pattern with a replacement string in the input file. Renders output to images.
static ReplaceToImages(string, ImageSaveOptions, Regex, string, FindReplaceOptions)Replaces all occurrences of a specified regular expression pattern with a replacement string in the input file. Renders output to images.
static ReplaceToImages(string, ImageSaveOptions, string, string, FindReplaceOptions)Replaces all occurrences of a specified character string pattern with a replacement string in the input file. Renders output to images.

See Also