Aspose::Words::LowCode::Watermarker class

Watermarker class

Provides methods intended to insert watermarks into the documents.

class Watermarker : public Aspose::Words::LowCode::Processor

Methods

MethodDescription
static Create(const System::SharedPtr<Aspose::Words::LowCode::WatermarkerContext>&)Creates new instance of the watermarker processor.
Execute()Execute the processor action.
From(const System::String&, const System::SharedPtr<Aspose::Words::Loading::LoadOptions>&)Specifies input document for processing.
From(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Aspose::Words::Loading::LoadOptions>&)Specifies input document for processing.
GetType() const override
Is(const System::TypeInfo&) const override
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 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&, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions>&)Adds an image watermark into the document with options and specified save format.
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>&, 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>&, 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::IO::Stream>&, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions>&)Adds an image watermark into the document from streams with options.
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 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&, const System::SharedPtr<Aspose::Words::TextWatermarkOptions>&)Adds a text watermark into the document with options and specified save format.
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&, const System::SharedPtr<Aspose::Words::TextWatermarkOptions>&)Adds a text watermark into the document from streams with options.
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.
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>&, 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::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions>&)Adds an image watermark into the document with options. Renders the output to images.
To(const System::String&, System::SharedPtr<Aspose::Words::Saving::SaveOptions>)Specifies output file for the processor.
To(const System::String&, Aspose::Words::SaveFormat)Specifies output file 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::SharedPtr<System::IO::Stream>&, Aspose::Words::SaveFormat)Specifies output stream for the processor.
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::Collections::Generic::List<System::SharedPtr<System::IO::Stream>>>&, Aspose::Words::SaveFormat)
static Type()

See Also