Aspose::Words::LowCode::Watermarker::SetWatermarkToImages method

Watermarker::SetWatermarkToImages(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&, const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions>&) method

Adds an image watermark into the document with options. Renders the output to images.

static System::ArrayPtr<System::SharedPtr<System::IO::Stream>> Aspose::Words::LowCode::Watermarker::SetWatermarkToImages(const System::SharedPtr<System::IO::Stream> &inputStream, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions> &saveOptions, const System::SharedPtr<System::IO::Stream> &watermarkImageStream, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions> &options=System::ExplicitCast<Aspose::Words::ImageWatermarkOptions>(nullptr))
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&The input stream.
saveOptionsconst System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&The save options.
watermarkImageStreamconst System::SharedPtr<System::IO::Stream>&Image stream that is displayed as a watermark.
optionsconst System::SharedPtr<Aspose::Words::ImageWatermarkOptions>&Defines additional options for the image watermark.

See Also

Watermarker::SetWatermarkToImages(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&, const System::String&, const System::SharedPtr<Aspose::Words::TextWatermarkOptions>&) method

Adds a text watermark into the document with options. Renders the output to images.

static System::ArrayPtr<System::SharedPtr<System::IO::Stream>> Aspose::Words::LowCode::Watermarker::SetWatermarkToImages(const System::SharedPtr<System::IO::Stream> &inputStream, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions> &saveOptions, const System::String &watermarkText, const System::SharedPtr<Aspose::Words::TextWatermarkOptions> &options=System::ExplicitCast<Aspose::Words::TextWatermarkOptions>(nullptr))
ParameterTypeDescription
inputStreamconst System::SharedPtr<System::IO::Stream>&The input file stream.
saveOptionsconst System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&The save options.
watermarkTextconst System::String&Text that is displayed as a watermark.
optionsconst System::SharedPtr<Aspose::Words::TextWatermarkOptions>&Defines additional options for the text watermark.

See Also

Watermarker::SetWatermarkToImages(const System::String&, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&, const System::ArrayPtr<uint8_t>&, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions>&) method

Adds an image watermark into the document with options. Renders the output to images.

static System::ArrayPtr<System::SharedPtr<System::IO::Stream>> Aspose::Words::LowCode::Watermarker::SetWatermarkToImages(const System::String &inputFileName, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions> &saveOptions, const System::ArrayPtr<uint8_t> &watermarkImageBytes, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions> &options=System::ExplicitCast<Aspose::Words::ImageWatermarkOptions>(nullptr))
ParameterTypeDescription
inputFileNameconst System::String&The input file name.
saveOptionsconst System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&The save options.
watermarkImageBytesconst System::ArrayPtr<uint8_t>&Image bytes that is displayed as a watermark.
optionsconst System::SharedPtr<Aspose::Words::ImageWatermarkOptions>&Defines additional options for the image watermark.

See Also

Watermarker::SetWatermarkToImages(const System::String&, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&, const System::String&, const System::SharedPtr<Aspose::Words::TextWatermarkOptions>&) method

Adds a text watermark into the document with options. Renders the output to images.

static System::ArrayPtr<System::SharedPtr<System::IO::Stream>> Aspose::Words::LowCode::Watermarker::SetWatermarkToImages(const System::String &inputFileName, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions> &saveOptions, const System::String &watermarkText, const System::SharedPtr<Aspose::Words::TextWatermarkOptions> &options=System::ExplicitCast<Aspose::Words::TextWatermarkOptions>(nullptr))
ParameterTypeDescription
inputFileNameconst System::String&The input file name.
saveOptionsconst System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>&The save options.
watermarkTextconst System::String&Text that is displayed as a watermark.
optionsconst System::SharedPtr<Aspose::Words::TextWatermarkOptions>&Defines additional options for the text watermark.

See Also