Aspose::Words::Watermark class

Watermark class

Represents class to work with document watermark. To learn more, visit the Working with Watermark documentation article.

class Watermark : public System::Object

Methods

MethodDescription
get_Type()Gets the watermark type.
GetType() const override
Is(const System::TypeInfo&) const override
Remove()Removes the watermark.
SetImage(const System::SharedPtr<System::Drawing::Image>&)Adds Image watermark into the document.
SetImage(const System::SharedPtr<System::Drawing::Image>&, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions>&)Adds Image watermark into the document.
SetImage(const System::String&, const System::SharedPtr<Aspose::Words::ImageWatermarkOptions>&)Adds Image watermark into the document.
SetText(const System::String&)Adds Text watermark into the document.
SetText(const System::String&, const System::SharedPtr<Aspose::Words::TextWatermarkOptions>&)Adds Text watermark into the document.
static Type()

See Also