Aspose::Words::LowCode::Replacer::ReplaceToImages method

Replacer::ReplaceToImages(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&, const System::SharedPtr<System::Text::RegularExpressions::Regex>&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) method

Replaces all occurrences of a specified regular expression pattern with a replacement string in the input file. Renders output to images.

static System::ArrayPtr<System::SharedPtr<System::IO::Stream>> Aspose::Words::LowCode::Replacer::ReplaceToImages(const System::SharedPtr<System::IO::Stream> &inputStream, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions> &saveOptions, const System::SharedPtr<System::Text::RegularExpressions::Regex> &pattern, const System::String &replacement, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions> &options=nullptr)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&The input file stream.
saveOptionsconst System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&The save options.
patternconst System::SharedPtr<System::Text::RegularExpressions::Regex>&A regular expression pattern used to find matches.
replacementconst System::String&A string to replace all occurrences of pattern.
optionsconst System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&FindReplaceOptions object to specify additional options.

See Also

Replacer::ReplaceToImages(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&, const System::String&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) method

Replaces all occurrences of a specified character string pattern with a replacement string in the input file. Renders output to images.

static System::ArrayPtr<System::SharedPtr<System::IO::Stream>> Aspose::Words::LowCode::Replacer::ReplaceToImages(const System::SharedPtr<System::IO::Stream> &inputStream, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions> &saveOptions, const System::String &pattern, const System::String &replacement, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions> &options=nullptr)
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&The input file stream.
saveOptionsconst System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&The save options.
patternconst System::String&A string to be replaced.
replacementconst System::String&A string to replace all occurrences of pattern.
optionsconst System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&FindReplaceOptions object to specify additional options.

See Also

Replacer::ReplaceToImages(const System::String&, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&, const System::SharedPtr<System::Text::RegularExpressions::Regex>&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) method

Replaces all occurrences of a specified regular expression pattern with a replacement string in the input file. Renders output to images.

static System::ArrayPtr<System::SharedPtr<System::IO::Stream>> Aspose::Words::LowCode::Replacer::ReplaceToImages(const System::String &inputFileName, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions> &saveOptions, const System::SharedPtr<System::Text::RegularExpressions::Regex> &pattern, const System::String &replacement, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions> &options=nullptr)
ParameterTypeDescription
inputFileNameconst System::String&The input file name.
saveOptionsconst System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&The save options.
patternconst System::SharedPtr<System::Text::RegularExpressions::Regex>&A regular expression pattern used to find matches.
replacementconst System::String&A string to replace all occurrences of pattern.
optionsconst System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&FindReplaceOptions object to specify additional options.

See Also

Replacer::ReplaceToImages(const System::String&, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&, const System::String&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&) method

Replaces all occurrences of a specified character string pattern with a replacement string in the input file. Renders output to images.

static System::ArrayPtr<System::SharedPtr<System::IO::Stream>> Aspose::Words::LowCode::Replacer::ReplaceToImages(const System::String &inputFileName, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions> &saveOptions, const System::String &pattern, const System::String &replacement, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions> &options=nullptr)
ParameterTypeDescription
inputFileNameconst System::String&The input file name.
saveOptionsconst System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&The save options.
patternconst System::String&A string to be replaced.
replacementconst System::String&A string to replace all occurrences of pattern.
optionsconst System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&FindReplaceOptions object to specify additional options.

See Also