Class ImageWatermarkOptions

Class ImageWatermarkOptions

Namespace: Aspose.Words
Assembly: Aspose.Words.dll (25.3.0)

Contains options that can be specified when adding a watermark with image.

To learn more, visit the Working with Watermark documentation article.

public class ImageWatermarkOptions

Inheritance

objectImageWatermarkOptions

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

ImageWatermarkOptions()

public ImageWatermarkOptions()

Properties

IsWashout

Gets or sets a boolean value which is responsible for washout effect of the watermark. The default value is true.

public bool IsWashout { get; set; }

Property Value

bool

Scale

Gets or sets the scale factor expressed as a fraction of the image. The default value is 0 - auto.

public double Scale { get; set; }

Property Value

double

Remarks

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.

Exceptions

ArgumentOutOfRangeException

Throws when argument was out of the range of valid values.

 English