Contains options that can be specified when adding a watermark with image.
#include <Aspose.Words.Cpp/ImageWatermarkOptions.h>
Public Member Functions | |
ImageWatermarkOptions () | |
bool | get_IsWashout () const |
Gets or sets a boolean value which is responsible for washout effect of the watermark. The default value is True. More... | |
double | get_Scale () const |
Gets or sets the scale factor expressed as a fraction of the image. The default value is 0 - auto. More... | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
void | set_IsWashout (bool value) |
Setter for get_IsWashout. More... | |
void | set_Scale (double value) |
Setter for get_Scale. More... | |
Static Public Member Functions | |
static const TypeInfo & | Type () |
Aspose::Words::ImageWatermarkOptions::ImageWatermarkOptions | ( | ) |
bool Aspose::Words::ImageWatermarkOptions::get_IsWashout | ( | ) | const |
Gets or sets a boolean value which is responsible for washout effect of the watermark. The default value is True.
Shows how to create a watermark from an image in the local file system.
double Aspose::Words::ImageWatermarkOptions::get_Scale | ( | ) | const |
Gets or sets the scale factor expressed as a fraction of the image. The default value is 0 - auto.
Valid values range from 0 to 65.5 inclusive.
Auto scale means that the watermark will be scaled to its max width and max height relative to the page margins.
System::ArgumentOutOfRangeException | Throws when argument was out of the range of valid values. |
Shows how to create a watermark from an image in the local file system.
|
overridevirtual |
Reimplemented from System::Object.
|
overridevirtual |
Reimplemented from System::Object.
void Aspose::Words::ImageWatermarkOptions::set_IsWashout | ( | bool | value | ) |
void Aspose::Words::ImageWatermarkOptions::set_Scale | ( | double | value | ) |
Setter for Aspose::Words::ImageWatermarkOptions::get_Scale.
|
static |