Aspose::Words::LowCode::Watermarker class

Watermarker class

Provides methods intended to insert watermarks into the documents.

class Watermarker : public Processor

Methods

MethodDescription
static Create(const System::SharedPtr<Aspose::Words::LowCode::WatermarkerContext> &)Creates new instance of the watermarker processor.
static SetImage(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<System::IO::Stream> &, Aspose::Words::SaveFormat, const System::SharedPtr<System::Drawing::Image> &)Adds an image watermark into the document from streams with options.
static SetImage(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<System::IO::Stream> &, Aspose::Words::SaveFormat, const System::SharedPtr<System::Drawing::Image> &, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions> &)Adds an image watermark into the document from streams with options.
static SetImage(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<System::IO::Stream> &, Aspose::Words::SaveFormat, const System::SharedPtr<System::IO::Stream> &)Adds an image watermark into the document from streams with options.
static SetImage(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<System::IO::Stream> &, Aspose::Words::SaveFormat, const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions> &)Adds an image watermark into the document from streams with options.
static SetImage(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<Aspose::Words::Saving::SaveOptions> &, const System::SharedPtr<System::Drawing::Image> &)Adds an image watermark into the document from streams with options.
static SetImage(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<Aspose::Words::Saving::SaveOptions> &, const System::SharedPtr<System::Drawing::Image> &, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions> &)Adds an image watermark into the document from streams with options.
static SetImage(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<Aspose::Words::Saving::SaveOptions> &, const System::SharedPtr<System::IO::Stream> &)Adds an image watermark into the document from streams with options.
static SetImage(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<Aspose::Words::Saving::SaveOptions> &, const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions> &)Adds an image watermark into the document from streams with options.
static SetImage(const System::String &, const System::String &, Aspose::Words::SaveFormat, const System::String &)Adds an image watermark into the document with options and specified save format.
static SetImage(const System::String &, const System::String &, Aspose::Words::SaveFormat, const System::String &, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions> &)Adds an image watermark into the document with options and specified save format.
static SetImage(const System::String &, const System::String &, const System::SharedPtr<Aspose::Words::Saving::SaveOptions> &, const System::String &)Adds an image watermark into the document with options and specified save format.
static SetImage(const System::String &, const System::String &, const System::SharedPtr<Aspose::Words::Saving::SaveOptions> &, const System::String &, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions> &)Adds an image watermark into the document with options and specified save format.
static SetImage(const System::String &, const System::String &, const System::String &)Adds an image watermark into the document.
static SetImage(const System::String &, const System::String &, const System::String &, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions> &)Adds an image watermark into the document with options.
static SetText(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<System::IO::Stream> &, Aspose::Words::SaveFormat, const System::String &)Adds a text watermark into the document from streams with options.
static SetText(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<System::IO::Stream> &, Aspose::Words::SaveFormat, const System::String &, const System::SharedPtr<Aspose::Words::TextWatermarkOptions> &)Adds a text watermark into the document from streams with options.
static SetText(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<Aspose::Words::Saving::SaveOptions> &, const System::String &)Adds a text watermark into the document from streams with options.
static SetText(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<Aspose::Words::Saving::SaveOptions> &, const System::String &, const System::SharedPtr<Aspose::Words::TextWatermarkOptions> &)Adds a text watermark into the document from streams with options.
static SetText(const System::String &, const System::String &, Aspose::Words::SaveFormat, const System::String &)Adds a text watermark into the document with options and specified save format.
static SetText(const System::String &, const System::String &, Aspose::Words::SaveFormat, const System::String &, const System::SharedPtr<Aspose::Words::TextWatermarkOptions> &)Adds a text watermark into the document with options and specified save format.
static SetText(const System::String &, const System::String &, const System::SharedPtr<Aspose::Words::Saving::SaveOptions> &, const System::String &)Adds a text watermark into the document with options and specified save format.
static SetText(const System::String &, const System::String &, const System::SharedPtr<Aspose::Words::Saving::SaveOptions> &, const System::String &, const System::SharedPtr<Aspose::Words::TextWatermarkOptions> &)Adds a text watermark into the document with options and specified save format.
static SetText(const System::String &, const System::String &, const System::String &)Adds a text watermark into the document.
static SetText(const System::String &, const System::String &, const System::String &, const System::SharedPtr<Aspose::Words::TextWatermarkOptions> &)Adds a text watermark into the document with options.
static SetWatermarkToImages(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions> &, const System::SharedPtr<System::IO::Stream> &)Adds an image watermark into the document with options. Renders the output to images.
static 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> &)Adds an image watermark into the document with options. Renders the output to images.
static SetWatermarkToImages(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions> &, const System::String &)Adds a text watermark into the document with options. Renders the output to images.
static SetWatermarkToImages(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions> &, const System::String &, const System::SharedPtr<Aspose::Words::TextWatermarkOptions> &)Adds a text watermark into the document with options. Renders the output to images.
static SetWatermarkToImages(const System::String &, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions> &, const System::ArrayPtr<uint8_t> &)Adds an image watermark into the document with options. Renders the output to images.
static SetWatermarkToImages(const System::String &, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions> &, const System::ArrayPtr<uint8_t> &, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions> &)Adds an image watermark into the document with options. Renders the output to images.
static SetWatermarkToImages(const System::String &, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions> &, const System::String &)Adds a text watermark into the document with options. Renders the output to images.
static SetWatermarkToImages(const System::String &, const System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions> &, const System::String &, const System::SharedPtr<Aspose::Words::TextWatermarkOptions> &)Adds a text watermark into the document with options. Renders the output to images.
Execute()Execute the processor action.
Execute(System::Threading::CancellationToken)Execute the processor action allowing canceling document processing task using specified cancellation token.
From(const System::SharedPtr<System::IO::Stream> &)Specifies input document for processing.
From(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<Aspose::Words::Loading::LoadOptions> &)Specifies input document for processing.
From(const System::String &)Specifies input document for processing.
From(const System::String &, const System::SharedPtr<Aspose::Words::Loading::LoadOptions> &)Specifies input document for processing.
To(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::IO::Stream>>> &, Aspose::Words::SaveFormat)
To(const System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::IO::Stream>>> &, const System::SharedPtr<Aspose::Words::Saving::SaveOptions> &)
To(const System::SharedPtr<System::IO::Stream> &, Aspose::Words::SaveFormat)Specifies output stream for the processor.
To(const System::SharedPtr<System::IO::Stream> &, const System::SharedPtr<Aspose::Words::Saving::SaveOptions> &)Specifies output stream for the processor.
To(const System::String &)Specifies output file for the processor.
To(const System::String &, Aspose::Words::SaveFormat)Specifies output file for the processor.
To(const System::String &, System::SharedPtr<Aspose::Words::Saving::SaveOptions>)Specifies output file for the processor.

See Also